Package org.eclipse.emf.common.util
Class Reflect
java.lang.Object
org.eclipse.emf.common.util.Reflect
A utility class for helping implement reflective capabilities not available with Google Widget Toolkit,
i.e., specifically the ability to
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.- Since:
- 2.7
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceAn interface implemented by reflective helpers. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanisInstance(Class<?> class_, Object instance) Do aninstanceof test.static voidregister(Class<?> class_, Reflect.Helper helper) Register a helper for the given class.
-
Constructor Details
-
Reflect
public Reflect()
-
-
Method Details
-
register
Register a helper for the given class. -
isInstance
Do aninstanceof test.
-