Package com.strobel.reflection
Class GenericMethod
java.lang.Object
com.strobel.reflection.MemberInfo
com.strobel.reflection.MethodBase
com.strobel.reflection.MethodInfo
com.strobel.reflection.GenericMethod
- All Implemented Interfaces:
AnnotatedElement
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final MethodInfo
private final ParameterList
private final SignatureType
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
ConstructorsConstructorDescriptionGenericMethod
(TypeBindings typeBindings, MethodInfo genericMethodDefinition) -
Method Summary
Modifier and TypeMethodDescriptionType
<?> int
getName()
Type
<?> protected TypeBindings
private Type
<?> resolveBindings
(Type<?> type) Methods inherited from class com.strobel.reflection.MethodInfo
appendBriefDescription, appendDescription, appendModifiers, appendSignature, appendSimpleDescription, containsGenericParameter, containsGenericParameters, declaredOn, emptyMethods, findBaseMethod, findOverriddenMethod, getAnnotation, getAnnotations, getDeclaredAnnotations, getDefaultValue, getErasedMethodDefinition, getGenericMethodParameters, getMemberType, getTypeArguments, invoke, isAbstract, isAnnotationPresent, isDefault, isEquivalentTo, isGenericMethod, isGenericMethodDefinition, makeGenericMethod, makeGenericMethod, reflectedOn
Methods inherited from class com.strobel.reflection.MethodBase
getThrownTypes
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 Details
-
_genericMethodDefinition
-
_typeBindings
-
_parameters
-
_signatureType
-
-
Constructor Details
-
GenericMethod
GenericMethod(TypeBindings typeBindings, MethodInfo genericMethodDefinition)
-
-
Method Details
-
getTypeBindings
- Overrides:
getTypeBindings
in classMethodInfo
-
getGenericMethodDefinition
- Overrides:
getGenericMethodDefinition
in classMethodInfo
-
getReturnType
- Specified by:
getReturnType
in classMethodInfo
-
getSignatureType
- Specified by:
getSignatureType
in classMethodBase
-
getRawMethod
- Specified by:
getRawMethod
in classMethodInfo
-
resolveBindings
-
getName
- Overrides:
getName
in classMethodInfo
-
appendErasedDescription
- Overrides:
appendErasedDescription
in classMethodInfo
-
appendErasedSignature
- Overrides:
appendErasedSignature
in classMethodInfo
-
getDeclaringType
- Specified by:
getDeclaringType
in classMemberInfo
-
getParameters
- Overrides:
getParameters
in classMethodBase
-
getCallingConvention
- Overrides:
getCallingConvention
in classMethodBase
-
getModifiers
public int getModifiers()- Specified by:
getModifiers
in classMemberInfo
-