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 JavaMethod
public java.lang.String getName()
getName
in interface JavaMethod
public JavaClass getOwningClass()
getOwningClass
in interface JavaMethod
public JavaClass[] getParameterTypes()
getParameterTypes
in interface JavaMethod
public JavaClass getReturnType()
getReturnType
in interface JavaMethod
public boolean isAbstract()
isAbstract
in interface JavaMethod
public boolean isFinal()
isFinal
in interface JavaMethod
public boolean isPrivate()
isPrivate
in interface JavaMethod
public boolean isProtected()
isProtected
in interface JavaMethod
public boolean isPublic()
isPublic
in interface JavaMethod
public boolean isStatic()
isStatic
in interface JavaMethod
public boolean isSynthetic()
isSynthetic
in interface JavaMethod
public JavaAnnotation getAnnotation(JavaClass arg0)
getAnnotation
in interface JavaHasAnnotations
public java.util.Collection<JavaAnnotation> getAnnotations()
getAnnotations
in interface JavaHasAnnotations
public JavaAnnotation getDeclaredAnnotation(JavaClass arg0)
getDeclaredAnnotation
in interface JavaHasAnnotations
public java.util.Collection<JavaAnnotation> getDeclaredAnnotations()
getDeclaredAnnotations
in interface JavaHasAnnotations
public boolean isBridge()
isBridge
in interface JavaMethod