public class CreateClass extends Object
| Constructor and Description |
|---|
CreateClass() |
| Modifier and Type | Method and Description |
|---|---|
static <T> T |
create(Class<?> pclassLiteral)
Instantiates a class via deferred binding.
|
public static <T> T create(Class<?> pclassLiteral)
The argument to create(Class) must be a class literal because the
Production Mode compiler must be able to statically determine the requested type at
compile-time. This can be tricky because using a Class variable may appear to work
correctly in Development Mode.
pclassLiteral - a class literal specifying the base class to be instantiatedCopyright © 2015–2016. All rights reserved.