Class JavaConstructorImpl
- java.lang.Object
-
- org.eclipse.persistence.jaxb.javamodel.reflection.JavaConstructorImpl
-
- All Implemented Interfaces:
JavaConstructor
public class JavaConstructorImpl extends java.lang.Object implements 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 Summary
Fields Modifier and Type Field Description protected java.lang.reflect.Constructor
jConstructor
-
Constructor Summary
Constructors Constructor Description JavaConstructorImpl(java.lang.reflect.Constructor constructor, JavaModelImpl javaModelImpl)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getModifiers()
java.lang.String
getName()
JavaClass
getOwningClass()
JavaClass[]
getParameterTypes()
boolean
isAbstract()
boolean
isFinal()
boolean
isPrivate()
boolean
isProtected()
boolean
isPublic()
boolean
isStatic()
boolean
isSynthetic()
-
-
-
Constructor Detail
-
JavaConstructorImpl
public JavaConstructorImpl(java.lang.reflect.Constructor constructor, JavaModelImpl javaModelImpl)
-
-
Method Detail
-
getModifiers
public int getModifiers()
- Specified by:
getModifiers
in interfaceJavaConstructor
-
getName
public java.lang.String getName()
- Specified by:
getName
in interfaceJavaConstructor
-
getOwningClass
public JavaClass getOwningClass()
- Specified by:
getOwningClass
in interfaceJavaConstructor
-
getParameterTypes
public JavaClass[] 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
-
-