EclipseLink 2.2.0, build 'v20110202-r8913' API Reference

org.eclipse.persistence.jaxb.javamodel.reflection
Class JavaMethodImpl

java.lang.Object
  extended by org.eclipse.persistence.jaxb.javamodel.reflection.JavaMethodImpl
All Implemented Interfaces:
JavaHasAnnotations, JavaMethod

public class JavaMethodImpl
extends java.lang.Object
implements JavaMethod

INTERNAL:

Purpose:A wrapper for a JDK Method. This implementation of the EclipseLink JAXB 2.X Java model simply makes reflective calls on the underlying JDK object.

Responsibilities:

See Also:
JavaMethod, Method
Since:
Oracle TopLink 11.1.1.0.0

Field Summary
protected  java.lang.Boolean isMetadataComplete
           
protected  java.lang.reflect.Method jMethod
           
 
Constructor Summary
JavaMethodImpl(java.lang.reflect.Method javaMethod, JavaModelImpl javaModelImpl)
           
JavaMethodImpl(java.lang.reflect.Method javaMethod, JavaModelImpl javaModelImpl, java.lang.Boolean isMetadataComplete)
           
 
Method Summary
 java.util.Collection getActualTypeArguments()
           
 java.lang.reflect.AnnotatedElement getAnnotatedElement()
           
 JavaAnnotation getAnnotation(JavaClass arg0)
           
 java.util.Collection getAnnotations()
           
 JavaAnnotation getDeclaredAnnotation(JavaClass arg0)
           
 java.util.Collection getDeclaredAnnotations()
           
 int getModifiers()
           
 java.lang.String getName()
           
 JavaClass getOwningClass()
           
 JavaClass[] getParameterTypes()
           
 JavaClass getResolvedType()
           
 JavaClass getReturnType()
           
 boolean hasActualTypeArguments()
           
 boolean isAbstract()
           
 boolean isFinal()
           
 boolean isPrivate()
           
 boolean isProtected()
           
 boolean isPublic()
           
 boolean isStatic()
           
 boolean isSynthetic()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

jMethod

protected java.lang.reflect.Method jMethod

isMetadataComplete

protected java.lang.Boolean isMetadataComplete
Constructor Detail

JavaMethodImpl

public JavaMethodImpl(java.lang.reflect.Method javaMethod,
                      JavaModelImpl javaModelImpl)

JavaMethodImpl

public JavaMethodImpl(java.lang.reflect.Method javaMethod,
                      JavaModelImpl javaModelImpl,
                      java.lang.Boolean isMetadataComplete)
Method Detail

getActualTypeArguments

public java.util.Collection getActualTypeArguments()

getAnnotation

public JavaAnnotation getAnnotation(JavaClass arg0)
Specified by:
getAnnotation in interface JavaHasAnnotations

getAnnotations

public java.util.Collection getAnnotations()
Specified by:
getAnnotations in interface JavaHasAnnotations

getName

public java.lang.String getName()
Specified by:
getName in interface JavaMethod

getParameterTypes

public JavaClass[] getParameterTypes()
Specified by:
getParameterTypes in interface JavaMethod

getResolvedType

public JavaClass getResolvedType()

getReturnType

public JavaClass getReturnType()
Specified by:
getReturnType in interface JavaMethod

hasActualTypeArguments

public boolean hasActualTypeArguments()

getModifiers

public int getModifiers()
Specified by:
getModifiers in interface JavaMethod

getOwningClass

public JavaClass getOwningClass()
Specified by:
getOwningClass in interface JavaMethod

getAnnotatedElement

public java.lang.reflect.AnnotatedElement getAnnotatedElement()

isAbstract

public boolean isAbstract()
Specified by:
isAbstract 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

isFinal

public boolean isFinal()
Specified by:
isFinal in interface JavaMethod

isSynthetic

public boolean isSynthetic()
Specified by:
isSynthetic in interface JavaMethod

getDeclaredAnnotation

public JavaAnnotation getDeclaredAnnotation(JavaClass arg0)
Specified by:
getDeclaredAnnotation in interface JavaHasAnnotations

getDeclaredAnnotations

public java.util.Collection getDeclaredAnnotations()
Specified by:
getDeclaredAnnotations in interface JavaHasAnnotations

EclipseLink 2.2.0, build 'v20110202-r8913' API Reference