org.eclipse.persistence.jaxb.javamodel.oxm
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
a DynamicJAXBContext
from XML Bindings.
Responsibilities:
- Provide Method information to the
JavaModel
.
- See Also:
JavaMethod
- Since:
- EclipseLink 2.2
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OXMJavaMethodImpl
public OXMJavaMethodImpl(java.lang.String methodName,
JavaClass returnType,
JavaClass owner)
- Construct a new instance of
OXMJavaMethodImpl
.
- Parameters:
methodName
- - this method's namereturnType
- - this method's return type as a JavaClass
.owner
- - the JavaClass
this method belongs to.
getModifiers
public int getModifiers()
- Specified by:
getModifiers
in interface JavaMethod
getName
public java.lang.String getName()
- Specified by:
getName
in interface JavaMethod
getOwningClass
public JavaClass getOwningClass()
- Specified by:
getOwningClass
in interface JavaMethod
getParameterTypes
public JavaClass[] getParameterTypes()
- Specified by:
getParameterTypes
in interface JavaMethod
getReturnType
public JavaClass getReturnType()
- Specified by:
getReturnType
in interface JavaMethod
isAbstract
public boolean isAbstract()
- Specified by:
isAbstract
in interface JavaMethod
isFinal
public boolean isFinal()
- Specified by:
isFinal
in interface JavaMethod
isPrivate
public boolean isPrivate()
- Specified by:
isPrivate
in interface JavaMethod
isProtected
public boolean isProtected()
- Specified by:
isProtected
in interface JavaMethod
isPublic
public boolean isPublic()
- Specified by:
isPublic
in interface JavaMethod
isStatic
public boolean isStatic()
- Specified by:
isStatic
in interface JavaMethod
isSynthetic
public boolean isSynthetic()
- Specified by:
isSynthetic
in interface JavaMethod
getAnnotation
public JavaAnnotation getAnnotation(JavaClass arg0)
- Specified by:
getAnnotation
in interface JavaHasAnnotations
getAnnotations
public java.util.Collection<JavaAnnotation> getAnnotations()
- Specified by:
getAnnotations
in interface JavaHasAnnotations
getDeclaredAnnotation
public JavaAnnotation getDeclaredAnnotation(JavaClass arg0)
- Specified by:
getDeclaredAnnotation
in interface JavaHasAnnotations
getDeclaredAnnotations
public java.util.Collection<JavaAnnotation> getDeclaredAnnotations()
- Specified by:
getDeclaredAnnotations
in interface JavaHasAnnotations