public class OXMJavaMethodImpl extends java.lang.Object implements JavaMethod
Purpose: JavaMethod implementation used when bootstrapping
a DynamicJAXBContext from XML Bindings.
Responsibilities:
JavaModel.JavaMethod| Constructor and Description |
|---|
OXMJavaMethodImpl(java.lang.String methodName,
JavaClass returnType,
JavaClass owner)
Construct a new instance of
OXMJavaMethodImpl. |
| Modifier and Type | Method and Description |
|---|---|
JavaAnnotation |
getAnnotation(JavaClass arg0) |
java.util.Collection<JavaAnnotation> |
getAnnotations() |
JavaAnnotation |
getDeclaredAnnotation(JavaClass arg0) |
java.util.Collection<JavaAnnotation> |
getDeclaredAnnotations() |
int |
getModifiers() |
java.lang.String |
getName() |
JavaClass |
getOwningClass() |
JavaClass[] |
getParameterTypes() |
JavaClass |
getReturnType() |
boolean |
isAbstract() |
boolean |
isBridge() |
boolean |
isFinal() |
boolean |
isPrivate() |
boolean |
isProtected() |
boolean |
isPublic() |
boolean |
isStatic() |
boolean |
isSynthetic() |
public OXMJavaMethodImpl(java.lang.String methodName,
JavaClass returnType,
JavaClass owner)
OXMJavaMethodImpl.methodName - - this method's namereturnType - - this method's return type as a JavaClass.owner - - the JavaClass this method belongs to.public int getModifiers()
getModifiers in interface JavaMethodpublic java.lang.String getName()
getName in interface JavaMethodpublic JavaClass getOwningClass()
getOwningClass in interface JavaMethodpublic JavaClass[] getParameterTypes()
getParameterTypes in interface JavaMethodpublic JavaClass getReturnType()
getReturnType in interface JavaMethodpublic boolean isAbstract()
isAbstract in interface JavaMethodpublic boolean isFinal()
isFinal 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 isSynthetic()
isSynthetic in interface JavaMethodpublic JavaAnnotation getAnnotation(JavaClass arg0)
getAnnotation in interface JavaHasAnnotationspublic java.util.Collection<JavaAnnotation> getAnnotations()
getAnnotations in interface JavaHasAnnotationspublic JavaAnnotation getDeclaredAnnotation(JavaClass arg0)
getDeclaredAnnotation in interface JavaHasAnnotationspublic java.util.Collection<JavaAnnotation> getDeclaredAnnotations()
getDeclaredAnnotations in interface JavaHasAnnotationspublic boolean isBridge()
isBridge in interface JavaMethod