public class JavaMethodImpl extends 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 Method |
jMethod |
| Constructor and Description |
|---|
JavaMethodImpl(Method javaMethod,
JavaModelImpl javaModelImpl) |
JavaMethodImpl(Method javaMethod,
JavaModelImpl javaModelImpl,
Boolean isMetadataComplete) |
| Modifier and Type | Method and Description |
|---|---|
Collection |
getActualTypeArguments() |
AnnotatedElement |
getAnnotatedElement() |
JavaAnnotation |
getAnnotation(JavaClass arg0) |
Collection |
getAnnotations() |
JavaAnnotation |
getDeclaredAnnotation(JavaClass arg0) |
Collection |
getDeclaredAnnotations() |
int |
getModifiers() |
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 Method jMethod
protected boolean isMetadataComplete
public JavaMethodImpl(Method javaMethod, JavaModelImpl javaModelImpl)
public JavaMethodImpl(Method javaMethod, JavaModelImpl javaModelImpl, Boolean isMetadataComplete)
public Collection getActualTypeArguments()
public JavaAnnotation getAnnotation(JavaClass arg0)
getAnnotation in interface JavaHasAnnotationspublic Collection getAnnotations()
getAnnotations in interface JavaHasAnnotationspublic 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 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 Collection getDeclaredAnnotations()
getDeclaredAnnotations in interface JavaHasAnnotationsCopyright © 2007–2021 Eclipse.org - EclipseLink Project. All rights reserved.