< prev index next >

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

Print this page

        

@@ -30,11 +30,10 @@
 /**
  * This class is derived from <em>Attribute</em> and represents a constant
  * value, i.e., a default value for initializing a class field.
  * This class is instantiated by the <em>Attribute.readAttribute()</em> method.
  *
- * @version $Id$
  * @see     Attribute
  */
 public final class ConstantValue extends Attribute {
 
     private int constantvalue_index;

@@ -94,37 +93,37 @@
      *
      * @param file Output file stream
      * @throws IOException
      */
     @Override
-    public final void dump( final DataOutputStream file ) throws IOException {
+    public void dump( final DataOutputStream file ) throws IOException {
         super.dump(file);
         file.writeShort(constantvalue_index);
     }
 
 
     /**
      * @return Index in constant pool of constant value.
      */
-    public final int getConstantValueIndex() {
+    public int getConstantValueIndex() {
         return constantvalue_index;
     }
 
 
     /**
      * @param constantvalue_index the index info the constant pool of this constant value
      */
-    public final void setConstantValueIndex( final int constantvalue_index ) {
+    public void setConstantValueIndex( final int constantvalue_index ) {
         this.constantvalue_index = constantvalue_index;
     }
 
 
     /**
      * @return String representation of constant value.
      */
     @Override
-    public final String toString() {
+    public String toString() {
         Constant c = super.getConstantPool().getConstant(constantvalue_index);
         String buf;
         int i;
         // Print constant to string depending on its type
         switch (c.getTag()) {
< prev index next >