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 MethodInfoprivate final Type<?> private final ParameterListprivate final SignatureTypeprivate final TypeListprivate final TypeBindingsFields inherited from class MethodInfo
_erasedMethodDefinitionFields inherited from class 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<?> intgetName()Type<?> Type<?> protected TypeBindingsbooleanisAnnotationPresent(Class<? extends Annotation> annotationClass) booleanMethods inherited from class 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, reflectedOnMethods inherited from class MethodBase
getCallingConventionMethods inherited from class 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:
getParametersin classMethodBase
-
getReturnType
- Specified by:
getReturnTypein classMethodInfo
-
getSignatureType
- Specified by:
getSignatureTypein classMethodBase
-
getRawMethod
- Specified by:
getRawMethodin classMethodInfo
-
getName
- Overrides:
getNamein classMethodInfo
-
getDeclaringType
- Specified by:
getDeclaringTypein classMemberInfo
-
getReflectedType
- Overrides:
getReflectedTypein classMemberInfo
-
getThrownTypes
- Overrides:
getThrownTypesin classMethodBase
-
getTypeBindings
- Overrides:
getTypeBindingsin classMethodInfo
-
getModifiers
public int getModifiers()- Specified by:
getModifiersin classMemberInfo
-
isAnnotationPresent
- Specified by:
isAnnotationPresentin interfaceAnnotatedElement- Overrides:
isAnnotationPresentin classMethodInfo
-
getDeclaredAnnotations
- Specified by:
getDeclaredAnnotationsin interfaceAnnotatedElement- Overrides:
getDeclaredAnnotationsin classMethodInfo
-
getAnnotations
- Specified by:
getAnnotationsin interfaceAnnotatedElement- Overrides:
getAnnotationsin classMethodInfo
-
getAnnotation
- Specified by:
getAnnotationin interfaceAnnotatedElement- Overrides:
getAnnotationin classMethodInfo
-
isEquivalentTo
- Overrides:
isEquivalentToin classMethodInfo
-
appendErasedDescription
- Overrides:
appendErasedDescriptionin classMethodInfo
-
appendErasedSignature
- Overrides:
appendErasedSignaturein classMethodInfo
-