Class ReflectedMethod
java.lang.Object
com.strobel.reflection.MemberInfo
com.strobel.reflection.MethodBase
com.strobel.reflection.MethodInfo
com.strobel.reflection.ReflectedMethod
- All Implemented Interfaces:
AnnotatedElement
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final MethodInfoprivate final TypeBindingsprivate final Type<?> private final ParameterListprivate final Methodprivate final Type<?> private final SignatureTypeprivate final TypeListFields inherited from class MethodInfo
_erasedMethodDefinitionFields inherited from class MemberInfo
EMPTY_ANNOTATIONS, ENUM_MODIFIER, VARARGS_MODIFIER -
Constructor Summary
ConstructorsConstructorDescriptionReflectedMethod(MethodInfo baseMethod, Type<?> declaringType, Type<?> reflectedType, Method rawMethod, ParameterList parameters, Type<?> returnType, TypeList thrownTypes, TypeBindings bindings) ReflectedMethod(MethodInfo baseMethod, Type<?> declaringType, Method rawMethod, ParameterList parameters, Type<?> returnType, TypeList thrownTypes, TypeBindings bindings) -
Method Summary
Modifier and TypeMethodDescription<T extends Annotation>
TgetAnnotation(Class<T> annotationClass) Type<?> intType<?> Type<?> protected TypeBindingsbooleanisAnnotationPresent(Class<? extends Annotation> annotationClass) Methods inherited from class MethodInfo
appendBriefDescription, appendDescription, appendModifiers, appendSignature, appendSimpleDescription, containsGenericParameter, containsGenericParameters, declaredOn, emptyMethods, findBaseMethod, findOverriddenMethod, getDefaultValue, getGenericMethodDefinition, getGenericMethodParameters, getMemberType, getName, getTypeArguments, invoke, isAbstract, isDefault, isEquivalentTo, isGenericMethod, isGenericMethodDefinition, makeGenericMethod, makeGenericMethod, reflectedOnMethods 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
-
_rawMethod
-
_parameters
-
_signatureType
-
_bindings
-
_thrownTypes
-
_reflectedType
-
-
Constructor Details
-
ReflectedMethod
ReflectedMethod(MethodInfo baseMethod, Type<?> declaringType, Method rawMethod, ParameterList parameters, Type<?> returnType, TypeList thrownTypes, TypeBindings bindings) -
ReflectedMethod
ReflectedMethod(MethodInfo baseMethod, Type<?> declaringType, Type<?> reflectedType, Method rawMethod, ParameterList parameters, Type<?> returnType, TypeList thrownTypes, TypeBindings bindings)
-
-
Method Details
-
getReturnType
- Specified by:
getReturnTypein classMethodInfo
-
getSignatureType
- Specified by:
getSignatureTypein classMethodBase
-
getRawMethod
- Specified by:
getRawMethodin classMethodInfo
-
getDeclaringType
- Specified by:
getDeclaringTypein classMemberInfo
-
getReflectedType
- Overrides:
getReflectedTypein classMemberInfo
-
getModifiers
public int getModifiers()- Specified by:
getModifiersin classMemberInfo
-
getParameters
- Overrides:
getParametersin classMethodBase
-
getThrownTypes
- Overrides:
getThrownTypesin classMethodBase
-
getCallingConvention
- Overrides:
getCallingConventionin classMethodBase
-
getTypeBindings
- Overrides:
getTypeBindingsin classMethodInfo
-
getErasedMethodDefinition
- Overrides:
getErasedMethodDefinitionin classMethodInfo
-
getAnnotation
- Specified by:
getAnnotationin interfaceAnnotatedElement- Overrides:
getAnnotationin classMethodInfo
-
getAnnotations
- Specified by:
getAnnotationsin interfaceAnnotatedElement- Overrides:
getAnnotationsin classMethodInfo
-
getDeclaredAnnotations
- Specified by:
getDeclaredAnnotationsin interfaceAnnotatedElement- Overrides:
getDeclaredAnnotationsin classMethodInfo
-
isAnnotationPresent
- Specified by:
isAnnotationPresentin interfaceAnnotatedElement- Overrides:
isAnnotationPresentin classMethodInfo
-
appendErasedDescription
- Overrides:
appendErasedDescriptionin classMethodInfo
-
appendErasedSignature
- Overrides:
appendErasedSignaturein classMethodInfo
-