| java.lang.Object gnu.bytecode.Type gnu.bytecode.ObjectType
All known Subclasses: gnu.kawa.reflect.OccurrenceType, gnu.kawa.xml.NodeType, gnu.kawa.lispexpr.LangObjType, gnu.bytecode.ClassType, gnu.kawa.reflect.SingletonType, gnu.bytecode.ArrayType,
ObjectType | public class ObjectType extends Type (Code) | | Semi-abstract class object reference types.
Extended by ClassType and ArrayType.
|
ADD_FIELDS_DONE | final static int ADD_FIELDS_DONE(Code) | | |
ADD_METHODS_DONE | final static int ADD_METHODS_DONE(Code) | | |
EXISTING_CLASS | final static int EXISTING_CLASS(Code) | | |
HAS_OUTER_LINK | final static int HAS_OUTER_LINK(Code) | | |
ObjectType | protected ObjectType()(Code) | | |
coerceFromObject | public Object coerceFromObject(Object obj)(Code) | | Convert an object to a value of this Type.
Throw a ClassCastException when this is not possible.
|
emitCoerceFromObject | public void emitCoerceFromObject(CodeAttr code)(Code) | | Compile (in given method) cast from Object to this Type.
|
getImplementationType | public Type getImplementationType()(Code) | | |
getInternalName | public String getInternalName()(Code) | | Returns class name if a class type, signature if an array type.
In both cases, uses '/' rather than '.' after packages prefixes.
Seems rather arbitrary - but that is how classes are represented
in the constant pool (CONSTANT_Class constants).
Also, Class.forName is the same, except using '.'.
|
getReflectClass | public Class getReflectClass()(Code) | | Get the java.lang.Class object for the representation type.
|
isExisting | final public boolean isExisting()(Code) | | |
setExisting | final public void setExisting(boolean existing)(Code) | | |
|
|