|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use TypeReference | |
---|---|
edu.rit.classfile | Package edu.rit.classfile is the RIT Classfile Library for analyzing and synthesizing class files. |
Uses of TypeReference in edu.rit.classfile |
---|
Subclasses of TypeReference in edu.rit.classfile | |
---|---|
class |
ArrayOrClassReference
Class ArrayOrClassReference is the abstract superclass used to refer to an array type or a class type. |
class |
ArrayReference
Class ArrayReference encapsulates the information needed to refer to an array type. |
class |
ClassDescription
Class ClassDescription encapsulates the information needed both to refer to and to describe a class or interface. |
class |
ClassReference
Class ClassReference encapsulates the information needed to refer to a class. |
class |
NamedClassReference
Class NamedClassReference is used to create a class reference given the class name. |
class |
PrimitiveReference
Class PrimitiveReference encapsulates a reference to a primitive type. |
class |
SynthesizedClassDescription
Class SynthesizedClassDescription is used to synthesize a class description for some actual class. |
class |
SynthesizedClassOrInterfaceDescription
Class SynthesizedClassOrInterfaceDescription is the abstract superclass for an object used to synthesize a class description for some actual class or interface. |
class |
SynthesizedInterfaceDescription
Class SynthesizedInterfaceDescription is used to synthesize a class description for some actual interface. |
Methods in edu.rit.classfile that return TypeReference | |
---|---|
TypeReference |
ArrayReference.getComponentType()
Returns the referenced type's component type. |
TypeReference |
FieldReference.getFieldType()
Returns the referenced field's type. |
TypeReference |
SubroutineReference.getReturnType()
Returns the referenced subroutine's return type. |
static TypeReference |
Reflection.getTypeReference(Class theClass)
Returns a type reference for the given class. |
static TypeReference |
TypeReference.read(DataInput theDataInput)
Read a type reference from the given data input stream. |
Methods in edu.rit.classfile with parameters of type TypeReference | |
---|---|
void |
SynthesizedInterfaceMethodDescription.addArgumentType(TypeReference theArgumentType)
Add an argument to the described method. |
void |
SynthesizedConstructorDescription.addArgumentType(TypeReference theArgumentType)
Add an argument to this described constructor. |
void |
SynthesizedAbstractMethodDescription.addArgumentType(TypeReference theArgumentType)
Add an argument to the described method. |
void |
SynthesizedMethodDescription.addArgumentType(TypeReference theArgumentType)
Add an argument to this described method. |
void |
MethodReference.addArgumentType(TypeReference theArgumentType)
Add an argument to the referenced method. |
void |
ConstructorReference.addArgumentType(TypeReference theArgumentType)
Add an argument to the referenced constructor. |
void |
SynthesizedInterfaceMethodDescription.setReturnType(TypeReference theReturnType)
Specify the described method's return type. |
void |
SynthesizedAbstractMethodDescription.setReturnType(TypeReference theReturnType)
Specify the described method's return type. |
void |
SynthesizedMethodDescription.setReturnType(TypeReference theReturnType)
Specify the described method's return type. |
void |
MethodReference.setReturnType(TypeReference theReturnType)
Specify the referenced method's return type. |
static Instruction |
Op.TLOAD(int theIndex,
TypeReference theType)
A type-sensitive load instruction. |
static Instruction |
Op.TSTORE(int theIndex,
TypeReference theType)
A type-sensitive store instruction. |
Constructors in edu.rit.classfile with parameters of type TypeReference | |
---|---|
ArrayReference(TypeReference theComponentType,
int theDimensions)
Construct a new array reference with the given component type and dimensions. |
|
NamedFieldReference(ClassReference theClassReference,
String theFieldName,
TypeReference theFieldType)
Construct a new named field reference object. |
|
SynthesizedClassFieldDescription(SynthesizedClassDescription theClassDescription,
String theFieldName,
TypeReference theFieldType)
Construct a new synthesized class field description object with the given class, field name, and field type. |
|
SynthesizedInterfaceFieldDescription(SynthesizedInterfaceDescription theInterfaceDescription,
String theFieldName,
TypeReference theFieldType)
Construct a new synthesized interface field description object with the given interface, field name, and field type. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |