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.


Constructor Index

 o ObjectType()

Method Index

 o coerceFromObject(Object)
Convert an object to a value of this Type.
 o emitCoerceFromObject(CodeAttr)
Compile (in given method) cast from Object to this Type.
 o getNameOrSignature()
 o getReflectClass()
Get the java.lang.Class object for the representation type.

Constructors

 o ObjectType
 public ObjectType()

Methods

 o getNameOrSignature
 public abstract String getNameOrSignature()
 o getReflectClass
 public Class getReflectClass()
Get the java.lang.Class object for the representation type.

Overrides:
getReflectClass in class Type
 o 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
 o 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