|
||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||
java.lang.Objectdk.brics.string.intermediate.Field
public class Field
A field in the intermediate representation. Each field is represented by an intermediate variable.
A field's variable must never be used directly in any statement exceptFieldAssignment
and FieldReference. To assign from one field to another, the first field must be copied into
a local variable with a FieldReference and then into the other field with a FieldAssignment.
| Method Summary | |
|---|---|
Set<FieldAssignment> |
getFieldAssignments()
Returns the (unmodifiable) set of assignments to this field. |
Set<FieldReference> |
getFieldReferences()
Returns the (unmodifiable) set of references to this field. |
Variable |
getVariable()
Returns the field's variable, which holds all the possible values of the field at any time. |
boolean |
isStatic()
Returns true if this is a static field. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public Set<FieldAssignment> getFieldAssignments()
public Set<FieldReference> getFieldReferences()
public Variable getVariable()
public boolean isStatic()
public String toString()
toString in class Object
|
||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||