void write(DataOutput out) throws IOException { super.write(out); out.writeShort(getFieldIndex()); } }
void write(DataOutput out) throws IOException { super.write(out); out.writeShort(getFieldIndex()); } }
/** * Return the name of the field this instruction operates on, or null * if not set. */ public String getFieldName() { int index = getFieldIndex(); if (index == 0) return null; ComplexEntry entry = (ComplexEntry) getPool().getEntry(index); String name = entry.getNameAndTypeEntry().getNameEntry().getValue(); if (name.length() == 0) return null; return name; }
/** * Return the name of the field this instruction operates on, or null * if not set. */ public String getFieldName() { int index = getFieldIndex(); if (index == 0) return null; ComplexEntry entry = (ComplexEntry) getPool().getEntry(index); String name = entry.getNameAndTypeEntry().getNameEntry().getValue(); if (name.length() == 0) return null; return name; }
/** * Return the declaring class of the field this instruction operates on, * or null if not set. */ public String getFieldDeclarerName() { int index = getFieldIndex(); if (index == 0) return null; ComplexEntry entry = (ComplexEntry) getPool().getEntry(index); String name = getProject().getNameCache().getExternalForm(entry. getClassEntry().getNameEntry().getValue(), false); if (name.length() == 0) return null; return name; }
/** * Return the type of the field this instruction operates on, or null * if not set. */ public String getFieldTypeName() { int index = getFieldIndex(); if (index == 0) return null; ComplexEntry entry = (ComplexEntry) getPool().getEntry(index); String name = getProject().getNameCache().getExternalForm(entry. getNameAndTypeEntry().getDescriptorEntry().getValue(), false); if (name.length() == 0) return null; return name; }
/** * Return the type of the field this instruction operates on, or null * if not set. */ public String getFieldTypeName() { int index = getFieldIndex(); if (index == 0) return null; ComplexEntry entry = (ComplexEntry) getPool().getEntry(index); String name = getProject().getNameCache().getExternalForm(entry. getNameAndTypeEntry().getDescriptorEntry().getValue(), false); if (name.length() == 0) return null; return name; }
/** * Return the declaring class of the field this instruction operates on, * or null if not set. */ public String getFieldDeclarerName() { int index = getFieldIndex(); if (index == 0) return null; ComplexEntry entry = (ComplexEntry) getPool().getEntry(index); String name = getProject().getNameCache().getExternalForm(entry. getClassEntry().getNameEntry().getValue(), false); if (name.length() == 0) return null; return name; }