< prev index next >

src/java.xml/share/classes/com/sun/org/apache/bcel/internal/classfile/StackMapType.java

Print this page

        

*** 29,39 **** /** * This class represents the type of a local variable or item on stack * used in the StackMap entries. * - * @version $Id$ * @see StackMapEntry * @see StackMap * @see Const */ public final class StackMapType implements Cloneable { --- 29,38 ----
*** 101,121 **** * Dump type entries to file. * * @param file Output file stream * @throws IOException */ ! public final void dump( final DataOutputStream file ) throws IOException { file.writeByte(type); if (hasIndex()) { file.writeShort(getIndex()); } } /** @return true, if type is either ITEM_Object or ITEM_NewObject */ ! public final boolean hasIndex() { return type == Const.ITEM_Object || type == Const.ITEM_NewObject; } private String printIndex() { --- 100,120 ---- * Dump type entries to file. * * @param file Output file stream * @throws IOException */ ! public void dump( final DataOutputStream file ) throws IOException { file.writeByte(type); if (hasIndex()) { file.writeShort(getIndex()); } } /** @return true, if type is either ITEM_Object or ITEM_NewObject */ ! public boolean hasIndex() { return type == Const.ITEM_Object || type == Const.ITEM_NewObject; } private String printIndex() {
*** 134,144 **** /** * @return String representation */ @Override ! public final String toString() { return "(type=" + Const.getItemName(type) + printIndex() + ")"; } /** --- 133,143 ---- /** * @return String representation */ @Override ! public String toString() { return "(type=" + Const.getItemName(type) + printIndex() + ")"; } /**
*** 155,171 **** /** * @return Constant pool used by this object. */ ! public final ConstantPool getConstantPool() { return constant_pool; } /** * @param constant_pool Constant pool to be used for this object. */ ! public final void setConstantPool( final ConstantPool constant_pool ) { this.constant_pool = constant_pool; } } --- 154,170 ---- /** * @return Constant pool used by this object. */ ! public ConstantPool getConstantPool() { return constant_pool; } /** * @param constant_pool Constant pool to be used for this object. */ ! public void setConstantPool( final ConstantPool constant_pool ) { this.constant_pool = constant_pool; } }
< prev index next >