| 
||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||
java.lang.Objectdk.brics.string.intermediate.Application
public class Application
The root of an intermediate program. The application contains Method objects,
 which in turn contain Statement objects. The application is responsible
 for creating new variables and fields when requested, and must distribute unique keys
 to variables, methods, and statements.
 
Method.getCallSites() and Field.getFieldAssignments() always work, and require no assistance from outside
      this package.
 FieldReference and FieldAssignment statements.
 
| Constructor Summary | |
|---|---|
Application()
Constructs a new application from an array of methods.  | 
|
| Method Summary | |
|---|---|
 Field | 
createField(VariableType type,
            boolean isStatic)
Creates a new field.  | 
 Variable | 
createVariable(VariableType type)
Creates a new local variable.  | 
 Set<Field> | 
getFields()
Returns a read-only view of the fields in the entire application.  | 
 Set<Method> | 
getMethods()
Returns a read-only view of the methods in this application.  | 
 String | 
toDot(ReachingDefinitions rd,
      AliasAnalysis aa,
      OperationAssertionAnalysis ass,
      Set<Statement> hotspots)
Returns Graphviz representation of this application.  | 
 String | 
toDot(ReachingDefinitions rd,
      AliasAnalysis aa,
      Set<Statement> hotspots)
Returns Graphviz representation of this application.  | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public Application()
| Method Detail | 
|---|
public Field createField(VariableType type,
                         boolean isStatic)
type - type of the fieldisStatic - whether the field is static
public Variable createVariable(VariableType type)
type - type of the variable
public Set<Field> getFields()
public Set<Method> getMethods()
public String toDot(ReachingDefinitions rd,
                    AliasAnalysis aa,
                    OperationAssertionAnalysis ass,
                    Set<Statement> hotspots)
public String toDot(ReachingDefinitions rd,
                    AliasAnalysis aa,
                    Set<Statement> hotspots)
  | 
||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||