All Packages Class Hierarchy This Package Previous Next Index
Class gnu.bytecode.ObjectType
java.lang.Object
|
+----gnu.bytecode.Type
|
+----gnu.bytecode.ObjectType
- public abstract class ObjectType
- extends Type
Abstract class object reference types.
Extended by ClassType and ArrayType.
-
ObjectType()
-
-
coerceFromObject(Object)
- Convert an object to a value of this Type.
-
emitCoerceFromObject(CodeAttr)
- Compile (in given method) cast from Object to this Type.
-
getNameOrSignature()
-
-
getReflectClass()
- Get the java.lang.Class object for the representation type.
ObjectType
public ObjectType()
getNameOrSignature
public abstract String getNameOrSignature()
getReflectClass
public Class getReflectClass()
- Get the java.lang.Class object for the representation type.
- Overrides:
- getReflectClass in class Type
coerceFromObject
public Object coerceFromObject(Object obj)
- Convert an object to a value of this Type.
Throw a ClassCastException when this is not possible.
- Overrides:
- coerceFromObject in class Type
emitCoerceFromObject
public void emitCoerceFromObject(CodeAttr code)
- Compile (in given method) cast from Object to this Type.
- Overrides:
- emitCoerceFromObject in class Type
All Packages Class Hierarchy This Package Previous Next Index