public class JvmConstructor extends java.lang.Object implements Constructor
Constructor
where JVM-based reflection is supportedModifier and Type | Field and Description |
---|---|
java.lang.reflect.Constructor |
constructor |
Constructor and Description |
---|
JvmConstructor(java.lang.reflect.Constructor constructor) |
Modifier and Type | Method and Description |
---|---|
java.lang.Class |
getDeclaringClass()
The class that declares this constructor
|
Annotation[][] |
getParameterAnnotations()
Returns an array of arrays representing the annotations on the parameters in declared order
|
java.lang.Class[] |
getParameterTypes()
Returns an array of classes for the constructor parameters in declared order
|
java.lang.Object |
newInstance(java.lang.Object... args)
Use this constructor to create a new object instance
|
public java.lang.Class getDeclaringClass()
Constructor
getDeclaringClass
in interface Constructor
public java.lang.Class[] getParameterTypes()
Constructor
getParameterTypes
in interface Constructor
public Annotation[][] getParameterAnnotations()
Constructor
getParameterAnnotations
in interface Constructor
public java.lang.Object newInstance(java.lang.Object... args) throws ReflectionException
Constructor
newInstance
in interface Constructor
args
- The constructor parameters in declared orderReflectionException