public class MirrorConstructor<T>
extends java.lang.Object
MirrorClass.constructor(Class[])
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
int |
hashCode() |
T |
invoke(java.lang.Object... args)
Invokes the constructor with the given arguments and returns the new instance
|
MirrorClass<?>[] |
parameterTypes() |
java.lang.reflect.Constructor<T> |
unwrap() |
public java.lang.reflect.Constructor<T> unwrap()
Constructor
corresponding to this mirror constructorpublic MirrorClass<?>[] parameterTypes()
public T invoke(java.lang.Object... args)
args
- The arguments to invoke the constructor withpublic boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object