Access | Constructor and Description |
---|---|
protected | ObjectType(String
name of the class such as 'com.foo.Processor' javaClassName)Used to represent a Java Class type such is required to support non-static java functions. |
protected |
Modifier and Type | Method and Description |
---|---|
public boolean | equals(Object
the reference object with which to compare. obj)Overrides java. |
public Class | |
public String | |
public int | hashCode()
Overrides java. |
public boolean | identicalTo(Type other)
Implements abstract com. |
public Instruction | |
public Instruction | |
public Type | |
public String | toSignature()
Implements abstract com. |
public String | toString()
Implements abstract com. |
public void | translateFrom(ClassGenerator classGen, MethodGenerator methodGen, Class<?> clazz)
Overrides com. |
public void | translateTo(ClassGenerator classGen, MethodGenerator methodGen, Type type)
Overrides com. type .
|
public void | translateTo(ClassGenerator classGen, MethodGenerator methodGen, StringType type)
Expects an integer on the stack and pushes its string value by calling
|
public void | translateTo(ClassGenerator classGen, MethodGenerator methodGen, Class<?> clazz)
Overrides com. clazz .
|
_clazz | back to summary |
---|---|
private Class<?> _clazz |
_javaClassName | back to summary |
---|---|
private String _javaClassName |
ObjectType | back to summary |
---|---|
protected ObjectType(String javaClassName) Used to represent a Java Class type such is required to support non-static java functions.
|
ObjectType | back to summary |
---|---|
protected ObjectType(Class<?> clazz) |
equals | back to summary |
---|---|
public boolean equals(Object obj) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes.
|
getJavaClass | back to summary |
---|---|
public Class |
getJavaClassName | back to summary |
---|---|
public String getJavaClassName() |
hashCode | back to summary |
---|---|
public int hashCode() Overrides java. Must return the same value for all ObjectType instances. This is needed in CastExpr to ensure the mapping table is used correctly.
|
identicalTo | back to summary |
---|---|
public boolean identicalTo(Type other) Implements abstract com. Doc from com. Returns true if this and other are identical types. |
LOAD | back to summary |
---|---|
public Instruction LOAD(int slot) Overrides com. |
STORE | back to summary |
---|---|
public Instruction STORE(int slot) Overrides com. |
toJCType | back to summary |
---|---|
public Type toJCType() Implements abstract com. |
toSignature | back to summary |
---|---|
public String toSignature() Implements abstract com. Doc from com. Returns the signature of an internal type's external representation. |
toString | back to summary |
---|---|
public String toString() Implements abstract com. Doc from com. Returns a string representation of this type.
|
translateFrom | back to summary |
---|---|
public void translateFrom(ClassGenerator classGen, MethodGenerator methodGen, Class<?> clazz) Overrides com. Translates an external Java type into an Object type |
translateTo | back to summary |
---|---|
public void translateTo(ClassGenerator classGen, MethodGenerator methodGen, Type type) Overrides com. Translates a void into an object of internal type |
translateTo | back to summary |
---|---|
public void translateTo(ClassGenerator classGen, MethodGenerator methodGen, StringType type) Expects an integer on the stack and pushes its string value by calling
|
translateTo | back to summary |
---|---|
public void translateTo(ClassGenerator classGen, MethodGenerator methodGen, Class<?> clazz) Overrides com. Translates an object of this type to the external (Java) type denoted
by |