Package com.strobel.reflection
Class ErasedMethod
java.lang.Object
com.strobel.reflection.MemberInfo
com.strobel.reflection.MethodBase
com.strobel.reflection.MethodInfo
com.strobel.reflection.ErasedMethod
- All Implemented Interfaces:
AnnotatedElement
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final MethodInfo
private final Type
<?> private final ParameterList
private final SignatureType
private final TypeList
private final TypeBindings
Fields inherited from class com.strobel.reflection.MethodInfo
_erasedMethodDefinition
Fields inherited from class com.strobel.reflection.MemberInfo
EMPTY_ANNOTATIONS, ENUM_MODIFIER, VARARGS_MODIFIER
-
Constructor Summary
ConstructorsConstructorDescriptionErasedMethod
(MethodInfo baseMethod, Type<?> declaringType, ParameterList parameters, Type<?> returnType, TypeList thrownTypes, TypeBindings typeBindings) -
Method Summary
Modifier and TypeMethodDescription<T extends Annotation>
TgetAnnotation
(Class<T> annotationClass) Type
<?> int
getName()
Type
<?> Type
<?> protected TypeBindings
boolean
isAnnotationPresent
(Class<? extends Annotation> annotationClass) boolean
Methods inherited from class com.strobel.reflection.MethodInfo
appendBriefDescription, appendDescription, appendModifiers, appendSignature, appendSimpleDescription, containsGenericParameter, containsGenericParameters, declaredOn, emptyMethods, findBaseMethod, findOverriddenMethod, getDefaultValue, getErasedMethodDefinition, getGenericMethodDefinition, getGenericMethodParameters, getMemberType, getTypeArguments, invoke, isAbstract, isDefault, isGenericMethod, isGenericMethodDefinition, makeGenericMethod, makeGenericMethod, reflectedOn
Methods inherited from class com.strobel.reflection.MethodBase
getCallingConvention
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 Details
-
_baseMethod
-
_declaringType
-
_parameters
-
_signatureType
-
_thrownTypes
-
_typeBindings
-
-
Constructor Details
-
ErasedMethod
ErasedMethod(MethodInfo baseMethod, Type<?> declaringType, ParameterList parameters, Type<?> returnType, TypeList thrownTypes, TypeBindings typeBindings)
-
-
Method Details
-
getParameters
- Overrides:
getParameters
in classMethodBase
-
getReturnType
- Specified by:
getReturnType
in classMethodInfo
-
getSignatureType
- Specified by:
getSignatureType
in classMethodBase
-
getRawMethod
- Specified by:
getRawMethod
in classMethodInfo
-
getName
- Overrides:
getName
in classMethodInfo
-
getDeclaringType
- Specified by:
getDeclaringType
in classMemberInfo
-
getReflectedType
- Overrides:
getReflectedType
in classMemberInfo
-
getThrownTypes
- Overrides:
getThrownTypes
in classMethodBase
-
getTypeBindings
- Overrides:
getTypeBindings
in classMethodInfo
-
getModifiers
public int getModifiers()- Specified by:
getModifiers
in classMemberInfo
-
isAnnotationPresent
- Specified by:
isAnnotationPresent
in interfaceAnnotatedElement
- Overrides:
isAnnotationPresent
in classMethodInfo
-
getDeclaredAnnotations
- Specified by:
getDeclaredAnnotations
in interfaceAnnotatedElement
- Overrides:
getDeclaredAnnotations
in classMethodInfo
-
getAnnotations
- Specified by:
getAnnotations
in interfaceAnnotatedElement
- Overrides:
getAnnotations
in classMethodInfo
-
getAnnotation
- Specified by:
getAnnotation
in interfaceAnnotatedElement
- Overrides:
getAnnotation
in classMethodInfo
-
isEquivalentTo
- Overrides:
isEquivalentTo
in classMethodInfo
-
appendErasedDescription
- Overrides:
appendErasedDescription
in classMethodInfo
-
appendErasedSignature
- Overrides:
appendErasedSignature
in classMethodInfo
-