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.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionOXMJavaMethodImpl(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- - theJavaClassthis method belongs to.
-
-
Method Details
-
getModifiers
public int getModifiers()- Specified by:
getModifiersin interfaceJavaMethod
-
getName
- Specified by:
getNamein interfaceJavaMethod
-
getOwningClass
- Specified by:
getOwningClassin interfaceJavaMethod
-
getParameterTypes
- Specified by:
getParameterTypesin interfaceJavaMethod
-
getReturnType
- Specified by:
getReturnTypein interfaceJavaMethod
-
isAbstract
public boolean isAbstract()- Specified by:
isAbstractin interfaceJavaMethod
-
isFinal
public boolean isFinal()- Specified by:
isFinalin interfaceJavaMethod
-
isPrivate
public boolean isPrivate()- Specified by:
isPrivatein interfaceJavaMethod
-
isProtected
public boolean isProtected()- Specified by:
isProtectedin interfaceJavaMethod
-
isPublic
public boolean isPublic()- Specified by:
isPublicin interfaceJavaMethod
-
isStatic
public boolean isStatic()- Specified by:
isStaticin interfaceJavaMethod
-
isSynthetic
public boolean isSynthetic()- Specified by:
isSyntheticin interfaceJavaMethod
-
getAnnotation
- Specified by:
getAnnotationin interfaceJavaHasAnnotations
-
getAnnotations
- Specified by:
getAnnotationsin interfaceJavaHasAnnotations
-
getDeclaredAnnotation
- Specified by:
getDeclaredAnnotationin interfaceJavaHasAnnotations
-
getDeclaredAnnotations
- Specified by:
getDeclaredAnnotationsin interfaceJavaHasAnnotations
-
isBridge
public boolean isBridge()- Specified by:
isBridgein interfaceJavaMethod
-