org.eclipse.persistence.jaxb.javamodel.reflection
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 |
protected java.lang.reflect.Constructor |
jConstructor
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
jConstructor
protected java.lang.reflect.Constructor jConstructor
JavaConstructorImpl
public JavaConstructorImpl(java.lang.reflect.Constructor constructor,
JavaModelImpl javaModelImpl)
getModifiers
public int getModifiers()
- Specified by:
getModifiers
in interface JavaConstructor
getName
public java.lang.String getName()
- Specified by:
getName
in interface JavaConstructor
getOwningClass
public JavaClass getOwningClass()
- Specified by:
getOwningClass
in interface JavaConstructor
getParameterTypes
public JavaClass[] getParameterTypes()
- Specified by:
getParameterTypes
in interface JavaConstructor
isAbstract
public boolean isAbstract()
- Specified by:
isAbstract
in interface JavaConstructor
isPrivate
public boolean isPrivate()
- Specified by:
isPrivate
in interface JavaConstructor
isProtected
public boolean isProtected()
- Specified by:
isProtected
in interface JavaConstructor
isPublic
public boolean isPublic()
- Specified by:
isPublic
in interface JavaConstructor
isStatic
public boolean isStatic()
- Specified by:
isStatic
in interface JavaConstructor
isFinal
public boolean isFinal()
- Specified by:
isFinal
in interface JavaConstructor
isSynthetic
public boolean isSynthetic()
- Specified by:
isSynthetic
in interface JavaConstructor