Class OXMJavaMethodImpl
- java.lang.Object
-
- org.eclipse.persistence.jaxb.javamodel.oxm.OXMJavaMethodImpl
-
- All Implemented Interfaces:
JavaHasAnnotations
,JavaMethod
public class OXMJavaMethodImpl extends java.lang.Object implements JavaMethod
INTERNAL:Purpose:
JavaMethod
implementation used when bootstrapping aDynamicJAXBContext
from XML Bindings.Responsibilities:
- Provide Method information to the
JavaModel
.
- See Also:
JavaMethod
- Since:
- EclipseLink 2.2
-
-
Constructor Summary
Constructors Constructor Description OXMJavaMethodImpl(java.lang.String methodName, JavaClass returnType, JavaClass owner)
Construct a new instance ofOXMJavaMethodImpl
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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()
-
-
-
Constructor Detail
-
OXMJavaMethodImpl
public OXMJavaMethodImpl(java.lang.String methodName, JavaClass returnType, JavaClass owner)
Construct a new instance ofOXMJavaMethodImpl
.- Parameters:
methodName
- - this method's namereturnType
- - this method's return type as aJavaClass
.owner
- - theJavaClass
this method belongs to.
-
-
Method Detail
-
getModifiers
public int getModifiers()
- Specified by:
getModifiers
in interfaceJavaMethod
-
getName
public java.lang.String getName()
- Specified by:
getName
in interfaceJavaMethod
-
getOwningClass
public JavaClass getOwningClass()
- Specified by:
getOwningClass
in interfaceJavaMethod
-
getParameterTypes
public JavaClass[] getParameterTypes()
- Specified by:
getParameterTypes
in interfaceJavaMethod
-
getReturnType
public JavaClass getReturnType()
- Specified by:
getReturnType
in interfaceJavaMethod
-
isAbstract
public boolean isAbstract()
- Specified by:
isAbstract
in interfaceJavaMethod
-
isFinal
public boolean isFinal()
- Specified by:
isFinal
in interfaceJavaMethod
-
isPrivate
public boolean isPrivate()
- Specified by:
isPrivate
in interfaceJavaMethod
-
isProtected
public boolean isProtected()
- Specified by:
isProtected
in interfaceJavaMethod
-
isPublic
public boolean isPublic()
- Specified by:
isPublic
in interfaceJavaMethod
-
isStatic
public boolean isStatic()
- Specified by:
isStatic
in interfaceJavaMethod
-
isSynthetic
public boolean isSynthetic()
- Specified by:
isSynthetic
in interfaceJavaMethod
-
getAnnotation
public JavaAnnotation getAnnotation(JavaClass arg0)
- Specified by:
getAnnotation
in interfaceJavaHasAnnotations
-
getAnnotations
public java.util.Collection<JavaAnnotation> getAnnotations()
- Specified by:
getAnnotations
in interfaceJavaHasAnnotations
-
getDeclaredAnnotation
public JavaAnnotation getDeclaredAnnotation(JavaClass arg0)
- Specified by:
getDeclaredAnnotation
in interfaceJavaHasAnnotations
-
getDeclaredAnnotations
public java.util.Collection<JavaAnnotation> getDeclaredAnnotations()
- Specified by:
getDeclaredAnnotations
in interfaceJavaHasAnnotations
-
isBridge
public boolean isBridge()
- Specified by:
isBridge
in interfaceJavaMethod
-
-