/** {@inheritDoc} */ public String getConciseIdentity() { if (parent == null) { return "class_data_item @0x" + Integer.toHexString(getOffset()); } return "class_data_item @0x" + Integer.toHexString(getOffset()) + " (" + parent.getClassType() + ")"; }
/** {@inheritDoc} */ public int compareTo(ClassDataItem other) { if (parent == null) { if (other.parent == null) { return 0; } return -1; } if (other.parent == null) { return 1; } return parent.compareTo(other.parent); }