public class ConstructorWrapper
extends java.lang.Object
Constructor for easy access| Constructor and Description |
|---|
ConstructorWrapper(ConstructorStream parent,
java.lang.reflect.Constructor<?> constructor) |
| Modifier and Type | Method and Description |
|---|---|
ModifierWrapper |
modifier()
Get the
ModifierWrapper of the Constructor |
<T> T |
newInstance(java.lang.Object... args)
Invoke the
Constructor with the given arguments |
java.lang.Class<?> |
owner()
Get the owner
Class of the Constructor |
java.lang.Class<?>[] |
parameterTypes()
Get the parameter types of the
Constructor |
ConstructorStream |
parent()
Get the parent
ConstructorStream |
java.lang.reflect.Constructor<?> |
raw()
Get the raw
Constructor |
public ConstructorWrapper(ConstructorStream parent, java.lang.reflect.Constructor<?> constructor)
public ConstructorStream parent()
ConstructorStreampublic java.lang.reflect.Constructor<?> raw()
Constructorpublic java.lang.Class<?>[] parameterTypes()
Constructorpublic java.lang.Class<?> owner()
Class of the Constructorpublic ModifierWrapper modifier()
ModifierWrapper of the Constructorpublic <T> T newInstance(java.lang.Object... args)
Constructor with the given argumentsargs - The arguments to pass to the Constructor