public abstract class MethodInfo extends MethodBase
| Constructor and Description |
|---|
MethodInfo() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.StringBuilder |
appendBriefDescription(java.lang.StringBuilder sb) |
java.lang.StringBuilder |
appendDescription(java.lang.StringBuilder sb) |
java.lang.StringBuilder |
appendErasedDescription(java.lang.StringBuilder sb) |
java.lang.StringBuilder |
appendErasedSignature(java.lang.StringBuilder sb) |
java.lang.StringBuilder |
appendSignature(java.lang.StringBuilder sb) |
java.lang.StringBuilder |
appendSimpleDescription(java.lang.StringBuilder sb) |
boolean |
containsGenericParameters() |
MethodInfo |
findBaseMethod(Type<?> relativeTo) |
MethodInfo |
findOverriddenMethod() |
<T extends java.lang.annotation.Annotation> |
getAnnotation(java.lang.Class<T> annotationClass) |
java.lang.annotation.Annotation[] |
getAnnotations() |
java.lang.annotation.Annotation[] |
getDeclaredAnnotations() |
java.lang.Object |
getDefaultValue() |
MethodInfo |
getErasedMethodDefinition() |
MethodInfo |
getGenericMethodDefinition() |
TypeList |
getGenericMethodParameters() |
MemberType |
getMemberType() |
java.lang.String |
getName() |
abstract java.lang.reflect.Method |
getRawMethod() |
abstract Type<?> |
getReturnType() |
TypeList |
getTypeArguments() |
protected TypeBindings |
getTypeBindings() |
java.lang.Object |
invoke(java.lang.Object instance,
java.lang.Object... args) |
boolean |
isAbstract() |
boolean |
isAnnotationPresent(java.lang.Class<? extends java.lang.annotation.Annotation> annotationClass) |
boolean |
isDefault() |
boolean |
isGenericMethod() |
boolean |
isGenericMethodDefinition() |
MethodInfo |
makeGenericMethod(Type<?>... typeArguments) |
MethodInfo |
makeGenericMethod(TypeList typeArguments) |
getCallingConvention, getParameters, getSignatureType, getThrownTypesgetAnnotationsByType, getBriefDescription, getDeclaredAnnotation, getDeclaredAnnotationsByType, getDeclaringType, getDescription, getErasedDescription, getErasedSignature, getModifiers, getReflectedType, getSignature, getSimpleDescription, isEquivalentTo, isFinal, isNonPublic, isPackagePrivate, isPrivate, isProtected, isPublic, isStatic, toStringpublic final boolean isAbstract()
public final boolean isDefault()
public abstract Type<?> getReturnType()
public final MemberType getMemberType()
getMemberType in class MemberInfopublic abstract java.lang.reflect.Method getRawMethod()
public java.lang.Object getDefaultValue()
public java.lang.String getName()
getName in class MemberInfopublic <T extends java.lang.annotation.Annotation> T getAnnotation(java.lang.Class<T> annotationClass)
getAnnotation in interface java.lang.reflect.AnnotatedElementgetAnnotation in class MemberInfo@NotNull public java.lang.annotation.Annotation[] getAnnotations()
getAnnotations in interface java.lang.reflect.AnnotatedElementgetAnnotations in class MemberInfo@NotNull public java.lang.annotation.Annotation[] getDeclaredAnnotations()
getDeclaredAnnotations in interface java.lang.reflect.AnnotatedElementgetDeclaredAnnotations in class MemberInfopublic boolean isAnnotationPresent(java.lang.Class<? extends java.lang.annotation.Annotation> annotationClass)
isAnnotationPresent in interface java.lang.reflect.AnnotatedElementisAnnotationPresent in class MemberInfopublic java.lang.Object invoke(java.lang.Object instance,
java.lang.Object... args)
public MethodInfo findOverriddenMethod()
public MethodInfo findBaseMethod(Type<?> relativeTo)
public java.lang.StringBuilder appendDescription(java.lang.StringBuilder sb)
appendDescription in class MemberInfopublic java.lang.StringBuilder appendSimpleDescription(java.lang.StringBuilder sb)
appendSimpleDescription in class MemberInfopublic java.lang.StringBuilder appendBriefDescription(java.lang.StringBuilder sb)
appendBriefDescription in class MemberInfopublic java.lang.StringBuilder appendErasedDescription(java.lang.StringBuilder sb)
appendErasedDescription in class MemberInfopublic java.lang.StringBuilder appendSignature(java.lang.StringBuilder sb)
appendSignature in class MemberInfopublic java.lang.StringBuilder appendErasedSignature(java.lang.StringBuilder sb)
appendErasedSignature in class MemberInfopublic boolean isGenericMethod()
public boolean isGenericMethodDefinition()
protected TypeBindings getTypeBindings()
public TypeList getTypeArguments()
public TypeList getGenericMethodParameters()
public MethodInfo getGenericMethodDefinition()
public MethodInfo getErasedMethodDefinition()
public boolean containsGenericParameters()
public MethodInfo makeGenericMethod(Type<?>... typeArguments)
public MethodInfo makeGenericMethod(TypeList typeArguments)