Package com.strobel.reflection
Class MethodBase
- java.lang.Object
-
- com.strobel.reflection.MemberInfo
-
- com.strobel.reflection.MethodBase
-
- All Implemented Interfaces:
java.lang.reflect.AnnotatedElement
- Direct Known Subclasses:
ConstructorInfo
,MethodInfo
public abstract class MethodBase extends MemberInfo
-
-
Field Summary
-
Fields inherited from class com.strobel.reflection.MemberInfo
EMPTY_ANNOTATIONS, ENUM_MODIFIER, VARARGS_MODIFIER
-
-
Constructor Summary
Constructors Constructor Description MethodBase()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract boolean
containsGenericParameter(Type<?> genericParameter)
CallingConvention
getCallingConvention()
ParameterList
getParameters()
abstract SignatureType
getSignatureType()
TypeList
getThrownTypes()
boolean
isEquivalentTo(MemberInfo m)
-
Methods inherited from class com.strobel.reflection.MemberInfo
appendBriefDescription, appendDescription, appendErasedDescription, appendErasedSignature, appendGenericSignature, appendSignature, appendSimpleDescription, emptyAnnotations, equals, getAnnotation, getAnnotations, getAnnotationsByType, getBriefDescription, getDeclaredAnnotation, getDeclaredAnnotations, getDeclaredAnnotationsByType, getDeclaringType, getDescription, getErasedDescription, getErasedSignature, getMemberType, getModifiers, getName, getReflectedType, getSignature, getSimpleDescription, hashCode, invalidateCaches, isAnnotationPresent, isFinal, isNonPublic, isPackagePrivate, isPrivate, isProtected, isPublic, isStatic, toString
-
-
-
-
Method Detail
-
getSignatureType
public abstract SignatureType getSignatureType()
-
getParameters
public ParameterList getParameters()
-
getThrownTypes
public TypeList getThrownTypes()
-
getCallingConvention
public CallingConvention getCallingConvention()
-
containsGenericParameter
public abstract boolean containsGenericParameter(Type<?> genericParameter)
-
isEquivalentTo
public boolean isEquivalentTo(MemberInfo m)
- Overrides:
isEquivalentTo
in classMemberInfo
-
-