public class JvmConstructor extends java.lang.Object implements Constructor
Constructor where JVM-based reflection is supported| Modifier 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()
ConstructorgetDeclaringClass in interface Constructorpublic java.lang.Class[] getParameterTypes()
ConstructorgetParameterTypes in interface Constructorpublic Annotation[][] getParameterAnnotations()
ConstructorgetParameterAnnotations in interface Constructorpublic java.lang.Object newInstance(java.lang.Object... args)
throws ReflectionException
ConstructornewInstance in interface Constructorargs - The constructor parameters in declared orderReflectionException