public class JavaMethodImpl extends java.lang.Object implements JavaMethod
Purpose:A wrapper for a JDK Method. This implementation of the EclipseLink JAXB 2.X Java model simply makes reflective calls on the underlying JDK object.
Responsibilities:
JavaMethod,
Method| Modifier and Type | Field and Description |
|---|---|
protected boolean |
isMetadataComplete |
protected java.lang.reflect.Method |
jMethod |
| Constructor and Description |
|---|
JavaMethodImpl(java.lang.reflect.Method javaMethod,
JavaModelImpl javaModelImpl) |
JavaMethodImpl(java.lang.reflect.Method javaMethod,
JavaModelImpl javaModelImpl,
java.lang.Boolean isMetadataComplete) |
| Modifier and Type | Method and Description |
|---|---|
java.util.Collection |
getActualTypeArguments() |
java.lang.reflect.AnnotatedElement |
getAnnotatedElement() |
JavaAnnotation |
getAnnotation(JavaClass arg0) |
java.util.Collection |
getAnnotations() |
JavaAnnotation |
getDeclaredAnnotation(JavaClass arg0) |
java.util.Collection |
getDeclaredAnnotations() |
int |
getModifiers() |
java.lang.String |
getName() |
JavaClass |
getOwningClass() |
JavaClass[] |
getParameterTypes() |
JavaClass |
getResolvedType() |
JavaClass |
getReturnType() |
boolean |
hasActualTypeArguments() |
boolean |
isAbstract() |
boolean |
isBridge() |
boolean |
isFinal() |
boolean |
isPrivate() |
boolean |
isProtected() |
boolean |
isPublic() |
boolean |
isStatic() |
boolean |
isSynthetic() |
protected java.lang.reflect.Method jMethod
protected boolean isMetadataComplete
public JavaMethodImpl(java.lang.reflect.Method javaMethod,
JavaModelImpl javaModelImpl)
public JavaMethodImpl(java.lang.reflect.Method javaMethod,
JavaModelImpl javaModelImpl,
java.lang.Boolean isMetadataComplete)
public java.util.Collection getActualTypeArguments()
public JavaAnnotation getAnnotation(JavaClass arg0)
getAnnotation in interface JavaHasAnnotationspublic java.util.Collection getAnnotations()
getAnnotations in interface JavaHasAnnotationspublic java.lang.String getName()
getName in interface JavaMethodpublic JavaClass[] getParameterTypes()
getParameterTypes in interface JavaMethodpublic JavaClass getResolvedType()
public JavaClass getReturnType()
getReturnType in interface JavaMethodpublic boolean hasActualTypeArguments()
public int getModifiers()
getModifiers in interface JavaMethodpublic JavaClass getOwningClass()
getOwningClass in interface JavaMethodpublic java.lang.reflect.AnnotatedElement getAnnotatedElement()
public boolean isAbstract()
isAbstract in interface JavaMethodpublic boolean isPrivate()
isPrivate in interface JavaMethodpublic boolean isProtected()
isProtected in interface JavaMethodpublic boolean isPublic()
isPublic in interface JavaMethodpublic boolean isStatic()
isStatic in interface JavaMethodpublic boolean isFinal()
isFinal in interface JavaMethodpublic boolean isSynthetic()
isSynthetic in interface JavaMethodpublic boolean isBridge()
isBridge in interface JavaMethodpublic JavaAnnotation getDeclaredAnnotation(JavaClass arg0)
getDeclaredAnnotation in interface JavaHasAnnotationspublic java.util.Collection getDeclaredAnnotations()
getDeclaredAnnotations in interface JavaHasAnnotations