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.ConstructorjConstructor
-
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 intgetModifiers()java.lang.StringgetName()JavaClassgetOwningClass()JavaClass[]getParameterTypes()booleanisAbstract()booleanisFinal()booleanisPrivate()booleanisProtected()booleanisPublic()booleanisStatic()booleanisSynthetic()
-
-
-
Constructor Detail
-
JavaConstructorImpl
public JavaConstructorImpl(java.lang.reflect.Constructor constructor, JavaModelImpl javaModelImpl)
-
-
Method Detail
-
getModifiers
public int getModifiers()
- Specified by:
getModifiersin interfaceJavaConstructor
-
getName
public java.lang.String getName()
- Specified by:
getNamein interfaceJavaConstructor
-
getOwningClass
public JavaClass getOwningClass()
- Specified by:
getOwningClassin interfaceJavaConstructor
-
getParameterTypes
public JavaClass[] getParameterTypes()
- Specified by:
getParameterTypesin interfaceJavaConstructor
-
isAbstract
public boolean isAbstract()
- Specified by:
isAbstractin interfaceJavaConstructor
-
isPrivate
public boolean isPrivate()
- Specified by:
isPrivatein interfaceJavaConstructor
-
isProtected
public boolean isProtected()
- Specified by:
isProtectedin interfaceJavaConstructor
-
isPublic
public boolean isPublic()
- Specified by:
isPublicin interfaceJavaConstructor
-
isStatic
public boolean isStatic()
- Specified by:
isStaticin interfaceJavaConstructor
-
isFinal
public boolean isFinal()
- Specified by:
isFinalin interfaceJavaConstructor
-
isSynthetic
public boolean isSynthetic()
- Specified by:
isSyntheticin interfaceJavaConstructor
-
-