Package com.strobel.reflection
Class ReflectedConstructor
- java.lang.Object
-
- com.strobel.reflection.MemberInfo
-
- com.strobel.reflection.MethodBase
-
- com.strobel.reflection.ConstructorInfo
-
- com.strobel.reflection.ReflectedConstructor
-
- All Implemented Interfaces:
java.lang.reflect.AnnotatedElement
class ReflectedConstructor extends ConstructorInfo
-
-
Field Summary
Fields Modifier and Type Field Description private Type<?>
_declaringType
private ParameterList
_parameters
private java.lang.reflect.Constructor<?>
_rawConstructor
private SignatureType
_signatureType
private TypeList
_thrownTypes
-
Fields inherited from class com.strobel.reflection.MemberInfo
EMPTY_ANNOTATIONS, ENUM_MODIFIER, VARARGS_MODIFIER
-
-
Constructor Summary
Constructors Constructor Description ReflectedConstructor(Type<?> declaringType, java.lang.reflect.Constructor<?> rawConstructor, ParameterList parameters, TypeList thrownTypes)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Type<?>
getDeclaringType()
int
getModifiers()
ParameterList
getParameters()
java.lang.reflect.Constructor<?>
getRawConstructor()
SignatureType
getSignatureType()
TypeList
getThrownTypes()
-
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, isEquivalentTo
-
Methods inherited from class com.strobel.reflection.MemberInfo
appendGenericSignature, emptyAnnotations, equals, getAnnotationsByType, getBriefDescription, getDeclaredAnnotation, getDeclaredAnnotationsByType, getDescription, getErasedDescription, getErasedSignature, getReflectedType, getSignature, getSimpleDescription, hashCode, invalidateCaches, isFinal, isNonPublic, isPackagePrivate, isPrivate, isProtected, isPublic, isStatic, toString
-
-
-
-
Field Detail
-
_declaringType
private final Type<?> _declaringType
-
_parameters
private final ParameterList _parameters
-
_rawConstructor
private final java.lang.reflect.Constructor<?> _rawConstructor
-
_thrownTypes
private final TypeList _thrownTypes
-
_signatureType
private final SignatureType _signatureType
-
-
Constructor Detail
-
ReflectedConstructor
ReflectedConstructor(Type<?> declaringType, java.lang.reflect.Constructor<?> rawConstructor, ParameterList parameters, TypeList thrownTypes)
-
-
Method Detail
-
getSignatureType
public SignatureType getSignatureType()
- Specified by:
getSignatureType
in classMethodBase
-
getParameters
public ParameterList getParameters()
- Overrides:
getParameters
in classMethodBase
-
getThrownTypes
public TypeList getThrownTypes()
- Overrides:
getThrownTypes
in classMethodBase
-
getDeclaringType
public Type<?> getDeclaringType()
- Specified by:
getDeclaringType
in classMemberInfo
-
getRawConstructor
public java.lang.reflect.Constructor<?> getRawConstructor()
- Specified by:
getRawConstructor
in classConstructorInfo
-
getModifiers
public int getModifiers()
- Specified by:
getModifiers
in classMemberInfo
-
-