public final class Reflect
extends java.lang.Object
instance test
and to create typed arrays
.
This is provided in the regular core runtime only to support single sourcing of generated client models that are also targeting the EMF GWT runtime.Modifier and Type | Class and Description |
---|---|
static interface |
Reflect.Helper
An interface implemented by reflective helpers.
|
Constructor and Description |
---|
Reflect() |
Modifier and Type | Method and Description |
---|---|
static boolean |
isInstance(java.lang.Class<?> class_,
java.lang.Object instance)
Do an
instanceof test . |
static void |
register(java.lang.Class<?> class_,
Reflect.Helper helper)
Register a helper for the given class.
|
public static void register(java.lang.Class<?> class_, Reflect.Helper helper)
public static boolean isInstance(java.lang.Class<?> class_, java.lang.Object instance)
instanceof test
.