Package com.strobel.reflection
Class RuntimeConstructorInfo
- java.lang.Object
-
- com.strobel.reflection.MemberInfo
-
- com.strobel.reflection.MethodBase
-
- com.strobel.reflection.ConstructorInfo
-
- com.strobel.reflection.RuntimeConstructorInfo
-
- All Implemented Interfaces:
java.lang.reflect.AnnotatedElement
final class RuntimeConstructorInfo extends ConstructorInfo
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.Set<BindingFlags>
_bindingFlags
private int
_modifiers
private ParameterList
_parameters
private java.lang.reflect.Constructor<?>
_rawConstructor
private RuntimeTypeCache<?>
_reflectedTypeCache
private SignatureType
_signatureType
-
Fields inherited from class com.strobel.reflection.MemberInfo
EMPTY_ANNOTATIONS, ENUM_MODIFIER, VARARGS_MODIFIER
-
-
Constructor Summary
Constructors Constructor Description RuntimeConstructorInfo(java.lang.reflect.Constructor<?> rawConstructor, RuntimeTypeCache<?> reflectedTypeCache, int modifiers, java.util.Set<BindingFlags> bindingFlags, ParameterList parameters)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) java.util.Set<BindingFlags>
getBindingFlags()
Type<?>
getDeclaringType()
int
getModifiers()
ParameterList
getParameters()
java.lang.reflect.Constructor<?>
getRawConstructor()
Type<?>
getReflectedType()
SignatureType
getSignatureType()
boolean
isEquivalentTo(MemberInfo m)
-
Methods inherited from class com.strobel.reflection.ConstructorInfo
appendBriefDescription, appendDescription, appendErasedDescription, appendErasedSignature, appendSignature, appendSimpleDescription, containsGenericParameter, getAnnotation, getAnnotations, getDeclaredAnnotations, getMemberType, getName, invoke, isAnnotationPresent
-
Methods inherited from class com.strobel.reflection.MethodBase
getCallingConvention, getThrownTypes
-
Methods inherited from class com.strobel.reflection.MemberInfo
appendGenericSignature, emptyAnnotations, equals, getAnnotationsByType, getBriefDescription, getDeclaredAnnotation, getDeclaredAnnotationsByType, getDescription, getErasedDescription, getErasedSignature, getSignature, getSimpleDescription, hashCode, invalidateCaches, isFinal, isNonPublic, isPackagePrivate, isPrivate, isProtected, isPublic, isStatic, toString
-
-
-
-
Field Detail
-
_rawConstructor
private final java.lang.reflect.Constructor<?> _rawConstructor
-
_reflectedTypeCache
private final RuntimeTypeCache<?> _reflectedTypeCache
-
_bindingFlags
private final java.util.Set<BindingFlags> _bindingFlags
-
_modifiers
private final int _modifiers
-
_parameters
private final ParameterList _parameters
-
_signatureType
private final SignatureType _signatureType
-
-
Constructor Detail
-
RuntimeConstructorInfo
RuntimeConstructorInfo(java.lang.reflect.Constructor<?> rawConstructor, RuntimeTypeCache<?> reflectedTypeCache, int modifiers, java.util.Set<BindingFlags> bindingFlags, ParameterList parameters)
-
-
Method Detail
-
getBindingFlags
java.util.Set<BindingFlags> getBindingFlags()
-
getSignatureType
public SignatureType getSignatureType()
- Specified by:
getSignatureType
in classMethodBase
-
getParameters
public ParameterList getParameters()
- Overrides:
getParameters
in classMethodBase
-
getRawConstructor
public java.lang.reflect.Constructor<?> getRawConstructor()
- Specified by:
getRawConstructor
in classConstructorInfo
-
getDeclaringType
public Type<?> getDeclaringType()
- Specified by:
getDeclaringType
in classMemberInfo
-
getReflectedType
public Type<?> getReflectedType()
- Overrides:
getReflectedType
in classMemberInfo
-
getModifiers
public int getModifiers()
- Specified by:
getModifiers
in classMemberInfo
-
isEquivalentTo
public boolean isEquivalentTo(MemberInfo m)
- Overrides:
isEquivalentTo
in classMethodBase
-
-