Main Page   Packages   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members  

ClassLiteral Class Reference

Inheritance diagram for ClassLiteral:
[legend]
Collaboration diagram for ClassLiteral:
[legend]
List of all members.

Public Methods

 ClassLiteral (SootClass source, int id)
void apply (Switch sw)
Vector getFields ()
JimpleLiteral getFieldValue (SootField field)
int getId ()
LockLiteral getLockValue ()
SootClass getSource ()
void setFieldValue (SootField field, JimpleLiteral value)
void setLockValue (JimpleLiteral value)

Private Attributes

Hashtable fieldContents = new Hashtable()
LockLiteral lockValue
Vector fields = new Vector()
SootClass source
int id

Detailed Description

A class literal value in a Jimple trace

Definition at line 45 of file ClassLiteral.java.


Member Function Documentation

JimpleLiteral ClassLiteral::getFieldValue SootField   field [inline]
 

Get the value of a specific Soot field

Parameters:
field   a (non-static) Soot Field stored in the literal

Definition at line 74 of file ClassLiteral.java.

Vector ClassLiteral::getFields   [inline]
 

Get a Vector of the SootFields stored in this literal

All these fields will be non-static, but some may belong to superclasses of the class of this literal.

Definition at line 68 of file ClassLiteral.java.

int ClassLiteral::getId   [inline]
 

Get the unique object ID of this instance

Reimplemented from ObjectLiteral.

Definition at line 81 of file ClassLiteral.java.

LockLiteral ClassLiteral::getLockValue   [inline]
 

Get the value of the lock of this object (returns null if the object has no lock---i.e., was never used in a synchronized block).

Definition at line 87 of file ClassLiteral.java.

SootClass ClassLiteral::getSource   [inline]
 

Get the SootClass of which this literal is an instance

Definition at line 92 of file ClassLiteral.java.


The documentation for this class was generated from the following file:
Generated at Thu Feb 7 07:06:30 2002 for Bandera by doxygen1.2.10 written by Dimitri van Heesch, © 1997-2001