Class JavaMethodImpl
java.lang.Object
org.eclipse.persistence.jaxb.javamodel.reflection.JavaMethodImpl
- All Implemented Interfaces:
JavaHasAnnotations
,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:
- Provide access to the underlying method's name, parameters, modifiers, annotations, etc.
- See Also:
-
Field Summary
-
Constructor Summary
ConstructorDescriptionJavaMethodImpl
(Method javaMethod, JavaModelImpl javaModelImpl) JavaMethodImpl
(Method javaMethod, JavaModelImpl javaModelImpl, Boolean isMetadataComplete) -
Method Summary
-
Field Details
-
jMethod
-
isMetadataComplete
protected boolean isMetadataComplete
-
-
Constructor Details
-
JavaMethodImpl
-
JavaMethodImpl
-
-
Method Details
-
getActualTypeArguments
-
getAnnotation
- Specified by:
getAnnotation
in interfaceJavaHasAnnotations
-
getAnnotations
- Specified by:
getAnnotations
in interfaceJavaHasAnnotations
-
getName
- Specified by:
getName
in interfaceJavaMethod
-
getParameterTypes
- Specified by:
getParameterTypes
in interfaceJavaMethod
-
getResolvedType
-
getReturnType
- Specified by:
getReturnType
in interfaceJavaMethod
-
hasActualTypeArguments
public boolean hasActualTypeArguments() -
getModifiers
public int getModifiers()- Specified by:
getModifiers
in interfaceJavaMethod
-
getOwningClass
- Specified by:
getOwningClass
in interfaceJavaMethod
-
getAnnotatedElement
-
isAbstract
public boolean isAbstract()- Specified by:
isAbstract
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
-
isFinal
public boolean isFinal()- Specified by:
isFinal
in interfaceJavaMethod
-
isSynthetic
public boolean isSynthetic()- Specified by:
isSynthetic
in interfaceJavaMethod
-
isBridge
public boolean isBridge()- Specified by:
isBridge
in interfaceJavaMethod
-
getDeclaredAnnotation
- Specified by:
getDeclaredAnnotation
in interfaceJavaHasAnnotations
-
getDeclaredAnnotations
- Specified by:
getDeclaredAnnotations
in interfaceJavaHasAnnotations
-