< prev index next >

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

Print this page

        

@@ -29,11 +29,10 @@
 
 /**
  * This class is derived from <em>Attribute</em> and represents a reference
  * to a PMG attribute.
  *
- * @version $Id$
  * @see     Attribute
  */
 public final class PMGClass extends Attribute {
 
     private int pmg_class_index;

@@ -86,85 +85,85 @@
      *
      * @param v Visitor object
      */
     @Override
     public void accept( final Visitor v ) {
-        System.err.println("Visiting non-standard PMGClass object");
+        println("Visiting non-standard PMGClass object");
     }
 
 
     /**
      * Dump source file attribute to file stream in binary format.
      *
      * @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(pmg_index);
         file.writeShort(pmg_class_index);
     }
 
 
     /**
      * @return Index in constant pool of source file name.
      */
-    public final int getPMGClassIndex() {
+    public int getPMGClassIndex() {
         return pmg_class_index;
     }
 
 
     /**
      * @param pmg_class_index
      */
-    public final void setPMGClassIndex( final int pmg_class_index ) {
+    public void setPMGClassIndex( final int pmg_class_index ) {
         this.pmg_class_index = pmg_class_index;
     }
 
 
     /**
      * @return Index in constant pool of source file name.
      */
-    public final int getPMGIndex() {
+    public int getPMGIndex() {
         return pmg_index;
     }
 
 
     /**
      * @param pmg_index
      */
-    public final void setPMGIndex( final int pmg_index ) {
+    public void setPMGIndex( final int pmg_index ) {
         this.pmg_index = pmg_index;
     }
 
 
     /**
      * @return PMG name.
      */
-    public final String getPMGName() {
+    public String getPMGName() {
         final ConstantUtf8 c = (ConstantUtf8) super.getConstantPool().getConstant(pmg_index,
                 Const.CONSTANT_Utf8);
         return c.getBytes();
     }
 
 
     /**
      * @return PMG class name.
      */
-    public final String getPMGClassName() {
+    public String getPMGClassName() {
         final ConstantUtf8 c = (ConstantUtf8) super.getConstantPool().getConstant(pmg_class_index,
                 Const.CONSTANT_Utf8);
         return c.getBytes();
     }
 
 
     /**
      * @return String representation
      */
     @Override
-    public final String toString() {
+    public String toString() {
         return "PMGClass(" + getPMGName() + ", " + getPMGClassName() + ")";
     }
 
 
     /**
< prev index next >