Module org.eclipse.persistence.moxy
Class OXMJavaMethodImpl
java.lang.Object
org.eclipse.persistence.jaxb.javamodel.oxm.OXMJavaMethodImpl
- All Implemented Interfaces:
JavaHasAnnotations
,JavaMethod
INTERNAL:
Purpose: JavaMethod
implementation used when bootstrapping
a DynamicJAXBContext
from XML Bindings.
Responsibilities:
- Provide Method information to the
JavaModel
.
- Since:
- EclipseLink 2.2
- See Also:
-
Constructor Summary
ConstructorDescriptionOXMJavaMethodImpl
(String methodName, JavaClass returnType, JavaClass owner) Construct a new instance ofOXMJavaMethodImpl
. -
Method Summary
-
Constructor Details
-
OXMJavaMethodImpl
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 Details
-
getModifiers
public int getModifiers()- Specified by:
getModifiers
in interfaceJavaMethod
-
getName
- Specified by:
getName
in interfaceJavaMethod
-
getOwningClass
- Specified by:
getOwningClass
in interfaceJavaMethod
-
getParameterTypes
- Specified by:
getParameterTypes
in interfaceJavaMethod
-
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
- Specified by:
getAnnotation
in interfaceJavaHasAnnotations
-
getAnnotations
- Specified by:
getAnnotations
in interfaceJavaHasAnnotations
-
getDeclaredAnnotation
- Specified by:
getDeclaredAnnotation
in interfaceJavaHasAnnotations
-
getDeclaredAnnotations
- Specified by:
getDeclaredAnnotations
in interfaceJavaHasAnnotations
-
isBridge
public boolean isBridge()- Specified by:
isBridge
in interfaceJavaMethod
-