Public Methods | |
Field (int access_flags, int name_index, int signature_index, Attribute[] attributes, ConstantPool constant_pool) | |
Field (Field c) | |
void | accept (Visitor v) |
final Field | copy (ConstantPool constant_pool) |
final ConstantValue | getConstantValue () |
final String | toString () |
Field (int access_flags, int name_index, int signature_index, Attribute[] attributes, ConstantPool constant_pool) | |
Field (Field c) | |
void | accept (Visitor v) |
final Field | copy (ConstantPool constant_pool) |
final ConstantValue | getConstantValue () |
final String | toString () |
Field (String name, Type type, Record record) | |
void | apply (TypeSwitch sw, Object o) |
Expr | defaultVal () |
boolean | equals (Object o) |
String | getName () |
int | getOffset () |
Record | getRecord () |
Type | getType () |
int | hashCode () |
boolean | isKind (int kind) |
void | setOffset (int offset) |
String | toString () |
Field (Name name, Type type) throws InvalidNameException | |
boolean | areValidModifiers (int modifiers) |
ClassOrInterfaceType | getDeclaringClassOrInterface () throws NotDeclaredException |
int | getModifiers () |
Name | getName () |
Type | getType () |
boolean | isAccessible (ClassOrInterfaceType otherType) |
void | setDeclaringClassOrInterface (ClassOrInterfaceType declaringClassOrInterface) |
void | setModifiers (int modifiers) throws InvalidModifiersException |
String | toString () |
Static Public Methods | |
boolean | areValidClassFieldModifiers (int modifiers) |
boolean | areValidInterfaceFieldModifiers (int modifiers) |
boolean | areValidModifiers (int modifiers, boolean isInterface) |
Protected Attributes | |
int | modifiers = 0 |
boolean | isArrayLength = false |
ArrayType | arrayType = null |
Private Methods | |
Field (DataInputStream file, ConstantPool constant_pool) throws IOException, ClassFormatError | |
Field (DataInputStream file, ConstantPool constant_pool) throws IOException, ClassFormatError | |
Private Attributes | |
String | name |
Type | type |
Record | record |
int | offset |
Name | name |
ClassOrInterfaceType | declaringClassOrInterface = null |
Definition at line 12 of file lib/jpf/de/fub/bytecode/classfile/Field.java.
|
Definition at line 20 of file lib/jpf/de/fub/bytecode/classfile/Field.java. |
|
Initialize from another object. Note that both objects use the same references (shallow copy). Use clone() for a physical copy. Definition at line 29 of file lib/jpf/de/fub/bytecode/classfile/Field.java. |
|
Construct object from file stream.
Definition at line 36 of file lib/jpf/de/fub/bytecode/classfile/Field.java. |
|
Definition at line 21 of file src/de/fub/bytecode/classfile/Field.java. |
|
Initialize from another object. Note that both objects use the same references (shallow copy). Use clone() for a physical copy. Definition at line 30 of file src/de/fub/bytecode/classfile/Field.java. |
|
Construct object from file stream.
Definition at line 37 of file src/de/fub/bytecode/classfile/Field.java. |
|
Definition at line 50 of file src/edu/ksu/cis/bandera/jjjc/symboltable/Field.java. |
|
Called by objects that are traversing the nodes of the tree implicitely defined by the contents of a Java class. I.e., the hierarchy of methods, fields, attributes, etc. spawns a tree of objects.
Reimplemented from Instruction. Definition at line 49 of file src/de/fub/bytecode/classfile/Field.java. |
|
Called by objects that are traversing the nodes of the tree implicitely defined by the contents of a Java class. I.e., the hierarchy of methods, fields, attributes, etc. spawns a tree of objects.
Reimplemented from Instruction. Definition at line 48 of file lib/jpf/de/fub/bytecode/classfile/Field.java. |
|
Definition at line 62 of file src/edu/ksu/cis/bandera/jjjc/symboltable/Field.java. |
|
Definition at line 76 of file src/edu/ksu/cis/bandera/jjjc/symboltable/Field.java. |
|
Definition at line 97 of file src/edu/ksu/cis/bandera/jjjc/symboltable/Field.java. |
|
Definition at line 88 of file src/edu/ksu/cis/bandera/jjjc/symboltable/Field.java. |
|
Definition at line 55 of file src/de/fub/bytecode/classfile/Field.java. |
|
Definition at line 54 of file lib/jpf/de/fub/bytecode/classfile/Field.java. |
|
Two fields are equal if they have the same name and type. Reimplemented from Type. Definition at line 64 of file src/edu/ksu/cis/bandera/bir/Field.java. |
|
Definition at line 61 of file src/de/fub/bytecode/classfile/Field.java. |
|
Definition at line 60 of file lib/jpf/de/fub/bytecode/classfile/Field.java. |
|
Definition at line 104 of file src/edu/ksu/cis/bandera/jjjc/symboltable/Field.java. |
|
Definition at line 113 of file src/edu/ksu/cis/bandera/jjjc/symboltable/Field.java. |
|
Reimplemented from FieldOrMethod. Definition at line 120 of file src/edu/ksu/cis/bandera/jjjc/symboltable/Field.java. |
|
Reimplemented from FieldOrMethod. Definition at line 68 of file src/edu/ksu/cis/bandera/bir/Field.java. Referenced by FieldGen::FieldGen(), FieldInfo::FieldInfo(), ClassGen::containsField(), ClassInfo::dynamicFieldIndex(), ClassInfo::getDynamicFieldName(), ClassInfo::getStaticFieldName(), and ClassInfo::staticFieldIndex().
|
|
Reimplemented from Type. Definition at line 127 of file src/edu/ksu/cis/bandera/jjjc/symboltable/Field.java. |
|
Reimplemented from Type. Definition at line 71 of file src/edu/ksu/cis/bandera/bir/Field.java. Referenced by SmvTypeDecl::caseField().
|
|
For storing in a Hashtable.
Reimplemented from Instruction. Definition at line 72 of file src/edu/ksu/cis/bandera/bir/Field.java. |
|
Definition at line 135 of file src/edu/ksu/cis/bandera/jjjc/symboltable/Field.java. |
|
Definition at line 156 of file src/edu/ksu/cis/bandera/jjjc/symboltable/Field.java. |
|
Definition at line 163 of file src/edu/ksu/cis/bandera/jjjc/symboltable/Field.java. |
|
Reimplemented from Type. Definition at line 174 of file src/edu/ksu/cis/bandera/jjjc/symboltable/Field.java. |
|
Reimplemented from Type. Definition at line 80 of file src/edu/ksu/cis/bandera/bir/Field.java. |
|
Return string representation close to declaration format, `public static final short MAX = 100', e.g..
Reimplemented from Type. Definition at line 74 of file src/de/fub/bytecode/classfile/Field.java. |
|
Return string representation close to declaration format, `public static final short MAX = 100', e.g..
Reimplemented from Type. Definition at line 73 of file lib/jpf/de/fub/bytecode/classfile/Field.java. Referenced by ClassInfo::loadDynamicFields(), and ClassInfo::loadStaticFields().
|