| Modifier and Type | Field and Description |
|---|---|
| private final Constructor |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public Class | getDeclaringClass()
Returns the Class object representing the class or interface that declares the constructor. |
| public Class | getParameterTypes()
Returns an array of Class objects that represent the formal parameter types, in declaration order, of the constructor. |
| public boolean | |
| public Object | newInstance(Object... args)
Uses the constructor to create and initialize a new instance of the constructor's declaring class, with the supplied initialization parameters. |
| public void |
| constructor | back to summary |
|---|---|
| private final Constructor<T> constructor | |
| Constructor | back to summary |
|---|---|
| pack-priv Constructor(Constructor<T> constructor) | |
| getDeclaringClass | back to summary |
|---|---|
| public Class Returns the Class object representing the class or interface that declares the constructor. | |
| getParameterTypes | back to summary |
|---|---|
| public Class Returns an array of Class objects that represent the formal parameter types, in declaration order, of the constructor. | |
| isAccessible | back to summary |
|---|---|
| public boolean isAccessible() | |
| newInstance | back to summary |
|---|---|
| public Object newInstance(Object... args) throws ReflectionException Uses the constructor to create and initialize a new instance of the constructor's declaring class, with the supplied initialization parameters. | |
| setAccessible | back to summary |
|---|---|
| public void setAccessible(boolean accessible) | |