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:
java.lang.reflect.AnnotatedElement
final class GenericMethod extends MethodInfo
-
-
Field Summary
Fields Modifier and Type Field Description private MethodInfo_genericMethodDefinitionprivate ParameterList_parametersprivate SignatureType_signatureTypeprivate TypeBindings_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
Constructors Constructor Description GenericMethod(TypeBindings typeBindings, MethodInfo genericMethodDefinition)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringBuilderappendErasedDescription(java.lang.StringBuilder sb)java.lang.StringBuilderappendErasedSignature(java.lang.StringBuilder sb)CallingConventiongetCallingConvention()Type<?>getDeclaringType()MethodInfogetGenericMethodDefinition()intgetModifiers()java.lang.StringgetName()ParameterListgetParameters()java.lang.reflect.MethodgetRawMethod()Type<?>getReturnType()SignatureTypegetSignatureType()protected TypeBindingsgetTypeBindings()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 Detail
-
_genericMethodDefinition
private final MethodInfo _genericMethodDefinition
-
_typeBindings
private final TypeBindings _typeBindings
-
_parameters
private final ParameterList _parameters
-
_signatureType
private final SignatureType _signatureType
-
-
Constructor Detail
-
GenericMethod
GenericMethod(TypeBindings typeBindings, MethodInfo genericMethodDefinition)
-
-
Method Detail
-
getTypeBindings
protected TypeBindings getTypeBindings()
- Overrides:
getTypeBindingsin classMethodInfo
-
getGenericMethodDefinition
public MethodInfo getGenericMethodDefinition()
- Overrides:
getGenericMethodDefinitionin classMethodInfo
-
getReturnType
public Type<?> getReturnType()
- Specified by:
getReturnTypein classMethodInfo
-
getSignatureType
public SignatureType getSignatureType()
- Specified by:
getSignatureTypein classMethodBase
-
getRawMethod
public java.lang.reflect.Method getRawMethod()
- Specified by:
getRawMethodin classMethodInfo
-
getName
public java.lang.String getName()
- Overrides:
getNamein classMethodInfo
-
appendErasedDescription
public java.lang.StringBuilder appendErasedDescription(java.lang.StringBuilder sb)
- Overrides:
appendErasedDescriptionin classMethodInfo
-
appendErasedSignature
public java.lang.StringBuilder appendErasedSignature(java.lang.StringBuilder sb)
- Overrides:
appendErasedSignaturein classMethodInfo
-
getDeclaringType
public Type<?> getDeclaringType()
- Specified by:
getDeclaringTypein classMemberInfo
-
getParameters
public ParameterList getParameters()
- Overrides:
getParametersin classMethodBase
-
getCallingConvention
public CallingConvention getCallingConvention()
- Overrides:
getCallingConventionin classMethodBase
-
getModifiers
public int getModifiers()
- Specified by:
getModifiersin classMemberInfo
-
-