toString impls for debug

master
Egor.Ushakov 8 years ago
parent 7067504c27
commit 7628ddfd2c
  1. 5
      src/org/jetbrains/java/decompiler/struct/StructClass.java
  2. 5
      src/org/jetbrains/java/decompiler/struct/StructField.java
  3. 5
      src/org/jetbrains/java/decompiler/struct/StructMethod.java

@ -194,4 +194,9 @@ public class StructClass extends StructMember {
return CodeConstants.BYTECODE_JAVA_LE_4; return CodeConstants.BYTECODE_JAVA_LE_4;
} }
@Override
public String toString() {
return qualifiedName;
}
} }

@ -55,4 +55,9 @@ public class StructField extends StructMember {
public String getDescriptor() { public String getDescriptor() {
return descriptor; return descriptor;
} }
@Override
public String toString() {
return name;
}
} }

@ -393,4 +393,9 @@ public class StructMethod extends StructMember {
public StructLocalVariableTableAttribute getLocalVariableAttr() { public StructLocalVariableTableAttribute getLocalVariableAttr() {
return (StructLocalVariableTableAttribute)getAttributes().getWithKey(StructGeneralAttribute.ATTRIBUTE_LOCAL_VARIABLE_TABLE); return (StructLocalVariableTableAttribute)getAttributes().getWithKey(StructGeneralAttribute.ATTRIBUTE_LOCAL_VARIABLE_TABLE);
} }
@Override
public String toString() {
return name;
}
} }
Loading…
Cancel
Save