|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use ClassReference | |
---|---|
edu.rit.classfile | Package edu.rit.classfile is the RIT Classfile Library for analyzing and synthesizing class files. |
Uses of ClassReference in edu.rit.classfile |
---|
Subclasses of ClassReference in edu.rit.classfile | |
---|---|
class |
ClassDescription
Class ClassDescription encapsulates the information needed both to refer to and to describe a class or interface. |
class |
NamedClassReference
Class NamedClassReference is used to create a class reference given the class name. |
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 ClassReference | |
---|---|
ClassReference |
ExceptionHandler.getCatchType()
Returns this exception handler's catch type. |
ClassReference |
FieldReference.getClassReference()
Returns the class which contains the referenced field. |
ClassReference |
SubroutineReference.getClassReference()
Returns the class which contains the referenced subroutine. |
static ClassReference |
Reflection.getClassReference(Class theClass)
Returns a class reference for the given class. |
ClassReference |
ClassDescription.getSuperclass()
Returns the described class's superclass. |
Methods in edu.rit.classfile with parameters of type ClassReference | |
---|---|
void |
SynthesizedConstructorDescription.addExceptionHandler(Location theStartLocation,
Location theEndLocation,
Location theHandlerLocation,
ClassReference theCatchType)
Add an exception handler to the described constructor's list of exception handlers. |
void |
SynthesizedClassInitializerDescription.addExceptionHandler(Location theStartLocation,
Location theEndLocation,
Location theHandlerLocation,
ClassReference theCatchType)
Add an exception handler to the described class initializer's list of exception handlers. |
void |
SynthesizedMethodDescription.addExceptionHandler(Location theStartLocation,
Location theEndLocation,
Location theHandlerLocation,
ClassReference theCatchType)
Add an exception handler to the described method's list of exception handlers. |
void |
SynthesizedClassOrInterfaceDescription.addSuperinterface(ClassReference theSuperinterface)
Add a superinterface to the described class. |
void |
SynthesizedInterfaceMethodDescription.addThrownException(ClassReference theExceptionClass)
Add a thrown exception to the described method. |
void |
SynthesizedConstructorDescription.addThrownException(ClassReference theExceptionClass)
Add a thrown exception to this described constructor. |
void |
SynthesizedAbstractMethodDescription.addThrownException(ClassReference theExceptionClass)
Add a thrown exception to the described method. |
void |
SynthesizedMethodDescription.addThrownException(ClassReference theExceptionClass)
Add a thrown exception to this described method. |
static MethodReference |
Reflection.getMethodReference(ClassReference theClass,
Method theMethod)
Returns a method reference for the given method. |
static Instruction |
Op.NEW(ClassReference theType)
A new instruction. |
Constructors in edu.rit.classfile with parameters of type ClassReference | |
---|---|
ClassInitializerReference(ClassReference theClassReference)
Construct a new class initializer reference. |
|
ConstructorReference(ClassReference theClassReference)
Construct a new constructor reference object. |
|
ConstructorReference(ClassReference theClassReference,
String theMethodDescriptor)
Construct a new constructor reference object with the given method descriptor. |
|
MethodReference(ClassReference theClassReference,
String theMethodName)
Construct a new method reference object with the given method name. |
|
MethodReference(ClassReference theClassReference,
String theMethodName,
String theMethodDescriptor)
Construct a new method reference object with the given method name and method descriptor. |
|
NamedFieldReference(ClassReference theClassReference,
String theFieldName,
TypeReference theFieldType)
Construct a new named field reference object. |
|
SynthesizedClassDescription(String theClassName,
ClassReference theSuperclass)
Construct a synthesized class description for an actual class with the given name and the given superclass. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |