public class AsmMethodJavaClassMethod extends Object implements IJavaClassMethod, IJavaClassBytecodeMethod
Constructor and Description |
---|
AsmMethodJavaClassMethod(AsmMethod method,
IModule module) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(IJavaClassMethod o) |
boolean |
equals(Object o) |
IAnnotationInfo |
getAnnotation(Class annotationClass) |
IAnnotationInfo[] |
getDeclaredAnnotations() |
Object |
getDefaultValue() |
IJavaClassInfo |
getEnclosingClass() |
IJavaClassInfo[] |
getExceptionTypes() |
IJavaClassType[] |
getGenericParameterTypes() |
IJavaClassType |
getGenericReturnType() |
int |
getModifiers() |
String |
getName() |
IJavaClassInfo[] |
getParameterTypes() |
IJavaClassInfo |
getReturnClassInfo() |
IType |
getReturnType() |
String |
getReturnTypeName() |
IGenericTypeVariable[] |
getTypeVariables(IJavaMethodInfo mi) |
int |
hashCode() |
Object |
invoke(Object ctx,
Object[] args) |
boolean |
isAnnotationPresent(Class<? extends Annotation> annotationClass) |
boolean |
isBridge() |
boolean |
isSynthetic() |
void |
setAccessible(boolean accessible) |
String |
toString() |
public IType getReturnType()
getReturnType
in interface IJavaClassMethod
public IJavaClassInfo getReturnClassInfo()
getReturnClassInfo
in interface IJavaClassMethod
public String getName()
getName
in interface IJavaClassMethod
public IJavaClassInfo getEnclosingClass()
getEnclosingClass
in interface IJavaAnnotatedElement
public IJavaClassInfo[] getParameterTypes()
getParameterTypes
in interface IJavaClassMethod
public int getModifiers()
getModifiers
in interface IJavaClassMethod
public boolean isSynthetic()
isSynthetic
in interface IJavaClassBytecodeMethod
isSynthetic
in interface IJavaClassMethod
public boolean isBridge()
isBridge
in interface IJavaClassBytecodeMethod
isBridge
in interface IJavaClassMethod
public IJavaClassInfo[] getExceptionTypes()
getExceptionTypes
in interface IJavaClassMethod
public Object getDefaultValue()
getDefaultValue
in interface IJavaClassMethod
public String getReturnTypeName()
getReturnTypeName
in interface IJavaClassMethod
public boolean isAnnotationPresent(Class<? extends Annotation> annotationClass)
isAnnotationPresent
in interface IJavaAnnotatedElement
public IAnnotationInfo getAnnotation(Class annotationClass)
getAnnotation
in interface IJavaAnnotatedElement
public IAnnotationInfo[] getDeclaredAnnotations()
getDeclaredAnnotations
in interface IJavaAnnotatedElement
public void setAccessible(boolean accessible)
public Object invoke(Object ctx, Object[] args) throws InvocationTargetException, IllegalAccessException
invoke
in interface IJavaClassMethod
InvocationTargetException
IllegalAccessException
public IGenericTypeVariable[] getTypeVariables(IJavaMethodInfo mi)
getTypeVariables
in interface IJavaClassMethod
public IJavaClassType[] getGenericParameterTypes()
getGenericParameterTypes
in interface IJavaClassMethod
public IJavaClassType getGenericReturnType()
getGenericReturnType
in interface IJavaClassMethod
public int compareTo(IJavaClassMethod o)
compareTo
in interface Comparable<IJavaClassMethod>
Copyright © 2016. All rights reserved.