Class RuntimeMethodInfo
java.lang.Object
com.strobel.reflection.MemberInfo
com.strobel.reflection.MethodBase
com.strobel.reflection.MethodInfo
com.strobel.reflection.RuntimeMethodInfo
- All Implemented Interfaces:
AnnotatedElement
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final MethodInfoprivate final Set<BindingFlags> private final Type<?> private final intprivate final ParameterListprivate final Methodprivate final RuntimeTypeCache<?> private final SignatureTypeprivate final TypeListprivate final TypeBindingsFields inherited from class MethodInfo
_erasedMethodDefinitionFields inherited from class MemberInfo
EMPTY_ANNOTATIONS, ENUM_MODIFIER, VARARGS_MODIFIER -
Constructor Summary
ConstructorsConstructorDescriptionRuntimeMethodInfo(MethodInfo baseMethod, Method rawMethod, Type<?> declaringType, RuntimeTypeCache<?> reflectedTypeCache, int modifiers, Set<BindingFlags> bindingFlags, ParameterList parameters, Type<?> returnType, TypeList thrownTypes, TypeBindings typeBindings) -
Method Summary
Modifier and TypeMethodDescription<T extends Annotation>
TgetAnnotation(Class<T> annotationClass) (package private) Set<BindingFlags> 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, 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
-
_rawMethod
-
_declaringType
-
_reflectedTypeCache
-
_modifiers
private final int _modifiers -
_bindingFlags
-
_parameters
-
_signatureType
-
_thrownTypes
-
_typeBindings
-
-
Constructor Details
-
RuntimeMethodInfo
RuntimeMethodInfo(MethodInfo baseMethod, Method rawMethod, Type<?> declaringType, RuntimeTypeCache<?> reflectedTypeCache, int modifiers, Set<BindingFlags> bindingFlags, ParameterList parameters, Type<?> returnType, TypeList thrownTypes, TypeBindings typeBindings)
-
-
Method Details
-
getBindingFlags
Set<BindingFlags> getBindingFlags() -
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
-
getErasedMethodDefinition
- Overrides:
getErasedMethodDefinitionin classMethodInfo
-
appendErasedDescription
- Overrides:
appendErasedDescriptionin classMethodInfo
-
appendErasedSignature
- Overrides:
appendErasedSignaturein classMethodInfo
-