public interface 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
|
java.lang.Class getDeclaringClass()
java.lang.Class[] getParameterTypes()
Annotation[][] getParameterAnnotations()
java.lang.Object newInstance(java.lang.Object... args) throws ReflectionException
args
- The constructor parameters in declared orderReflectionException