Class JavaConstructorImpl
java.lang.Object
org.eclipse.persistence.jaxb.javamodel.reflection.JavaConstructorImpl
- All Implemented Interfaces:
JavaConstructor
Purpose: JavaModel representation of a java.lang.reflect.Constructor object.
Reponsibilities:
- Provide a reflection-based implementation of the JavaConstructor interface
- Delegate calls to a wrapped instance of java.lang.reflect.Consturctor
- Author:
- mmacivor
-
Field Details
-
jConstructor
-
-
Constructor Details
-
JavaConstructorImpl
-
-
Method Details
-
getModifiers
public int getModifiers()- Specified by:
getModifiers
in interfaceJavaConstructor
-
getName
- Specified by:
getName
in interfaceJavaConstructor
-
getOwningClass
- Specified by:
getOwningClass
in interfaceJavaConstructor
-
getParameterTypes
- Specified by:
getParameterTypes
in interfaceJavaConstructor
-
isAbstract
public boolean isAbstract()- Specified by:
isAbstract
in interfaceJavaConstructor
-
isPrivate
public boolean isPrivate()- Specified by:
isPrivate
in interfaceJavaConstructor
-
isProtected
public boolean isProtected()- Specified by:
isProtected
in interfaceJavaConstructor
-
isPublic
public boolean isPublic()- Specified by:
isPublic
in interfaceJavaConstructor
-
isStatic
public boolean isStatic()- Specified by:
isStatic
in interfaceJavaConstructor
-
isFinal
public boolean isFinal()- Specified by:
isFinal
in interfaceJavaConstructor
-
isSynthetic
public boolean isSynthetic()- Specified by:
isSynthetic
in interfaceJavaConstructor
-