public class ReflectConstructorSpec
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static ReflectConstructorSpec |
INVALID_CONSTRUCTOR |
static ReflectConstructorSpec |
UNSPECIFIED_CONSTRUCTOR |
| Constructor and Description |
|---|
ReflectConstructorSpec(ReflectConstructor constructor,
java.lang.Object[] args) |
| Modifier and Type | Method and Description |
|---|---|
TernaryBool |
canBeInstantiated()
returns true if an instance can be instantiated
with the constructor, otherwise false.
|
java.lang.Object |
newInstance()
creates a new instance.
|
public static final ReflectConstructorSpec UNSPECIFIED_CONSTRUCTOR
public static final ReflectConstructorSpec INVALID_CONSTRUCTOR
public ReflectConstructorSpec(ReflectConstructor constructor, java.lang.Object[] args)
public java.lang.Object newInstance()
public TernaryBool canBeInstantiated()