public class SyntheticJavaMethod extends Object implements IJavaClassMethod
| Constructor and Description |
|---|
SyntheticJavaMethod(IJavaClassInfo enclosingclass,
IJavaClassInfo returnclassinfo,
IJavaClassType returntype,
String name,
int modifiers,
IJavaClassInfo[] params,
IJavaClassInfo[] exceptions) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(IJavaClassMethod o) |
IAnnotationInfo |
getAnnotation(Class<? extends Annotation> 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 javaMethodInfo) |
Object |
invoke(Object ctx,
Object[] args) |
boolean |
isAnnotationPresent(Class<? extends Annotation> annotationClass) |
boolean |
isBridge() |
boolean |
isSynthetic() |
public SyntheticJavaMethod(IJavaClassInfo enclosingclass, IJavaClassInfo returnclassinfo, IJavaClassType returntype, String name, int modifiers, IJavaClassInfo[] params, IJavaClassInfo[] exceptions)
public IJavaClassInfo getReturnClassInfo()
getReturnClassInfo in interface IJavaClassMethodpublic IJavaClassType getGenericReturnType()
getGenericReturnType in interface IJavaClassMethodpublic String getReturnTypeName()
getReturnTypeName in interface IJavaClassMethodpublic IType getReturnType()
getReturnType in interface IJavaClassMethodpublic IJavaClassType[] getGenericParameterTypes()
getGenericParameterTypes in interface IJavaClassMethodpublic IJavaClassInfo[] getParameterTypes()
getParameterTypes in interface IJavaClassMethodpublic String getName()
getName in interface IJavaClassMethodpublic int getModifiers()
getModifiers in interface IJavaClassMethodpublic IJavaClassInfo[] getExceptionTypes()
getExceptionTypes in interface IJavaClassMethodpublic Object getDefaultValue()
getDefaultValue in interface IJavaClassMethodpublic Object invoke(Object ctx, Object[] args) throws InvocationTargetException, IllegalAccessException
invoke in interface IJavaClassMethodInvocationTargetExceptionIllegalAccessExceptionpublic IGenericTypeVariable[] getTypeVariables(IJavaMethodInfo javaMethodInfo)
getTypeVariables in interface IJavaClassMethodpublic boolean isSynthetic()
isSynthetic in interface IJavaClassMethodpublic boolean isBridge()
isBridge in interface IJavaClassMethodpublic int compareTo(IJavaClassMethod o)
compareTo in interface Comparable<IJavaClassMethod>public boolean isAnnotationPresent(Class<? extends Annotation> annotationClass)
isAnnotationPresent in interface IJavaAnnotatedElementpublic IAnnotationInfo getAnnotation(Class<? extends Annotation> annotationClass)
getAnnotation in interface IJavaAnnotatedElementpublic IAnnotationInfo[] getDeclaredAnnotations()
getDeclaredAnnotations in interface IJavaAnnotatedElementpublic IJavaClassInfo getEnclosingClass()
getEnclosingClass in interface IJavaAnnotatedElementCopyright © 2018. All rights reserved.