12345678910111213141516171819202122 |
- /* (c) copyright John Gough, 2012-2017 */
- package j2cps;
- public class FieldRef extends Reference {
- public FieldRef(ConstantPool thisCp, int classIndex, int ntIndex) {
- super(thisCp,classIndex,ntIndex);
- }
- public String getFieldName() {
- return (classRef.GetName() + "." + name);
- }
- @Override
- public String toString() {
- this.Resolve();
- return ("<FieldReference> " + classIndex + " " + nameAndTypeIndex + " " +
- classRef.GetName() + "." + name + " : " + type);
- }
- }
|