|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectjavafx.reflect.ReflectionContext
javafx.reflect.LocalReflectionContext
public class LocalReflectionContext
Implementation of ReflectionContext using Java reflection.
Can only access objects and types in the current JVM.
Normally, this is a singleton, though it might be possible to
have variants with different class search paths, for example.
| Method Summary | |
|---|---|
ClassRef |
findClass(java.lang.String name)
Get the ClassRef for the class with the given name. |
static LocalReflectionContext |
getInstance()
|
TypeRef |
getIntegerType()
Get the run-time representation of the JavaXF Integer type. |
TypeRef |
getNumberType()
Get the run-time representation of the JavaXF Number type. |
ObjectRef |
makeClassRef(java.lang.Class cls)
Create a reference to a given Object. |
ObjectRef |
makeObjectRef(java.lang.Object obj)
Create a reference to a given Object. |
SequenceBuilder |
makeSequenceBuilder(TypeRef elementType)
Create a helper object for building a sequence value. |
| Methods inherited from class javafx.reflect.ReflectionContext |
|---|
getAnyType, makeSequence |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static LocalReflectionContext getInstance()
public ObjectRef makeObjectRef(java.lang.Object obj)
public ObjectRef makeClassRef(java.lang.Class cls)
public SequenceBuilder makeSequenceBuilder(TypeRef elementType)
ReflectionContext
makeSequenceBuilder in class ReflectionContextpublic ClassRef findClass(java.lang.String name)
ReflectionContextClassRef for the class with the given name.
findClass in class ReflectionContextpublic TypeRef getIntegerType()
ReflectionContextInteger type.
getIntegerType in class ReflectionContextpublic TypeRef getNumberType()
ReflectionContextNumber type.
getNumberType in class ReflectionContext
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||