commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1695680 - /commons/proper/bcel/trunk/src/main/java/org/apache/commons/bcel6/generic/ClassGen.java
Date Thu, 13 Aug 2015 11:39:27 GMT
Author: sebb
Date: Thu Aug 13 11:39:27 2015
New Revision: 1695680

URL: http://svn.apache.org/r1695680
Log:
TODO

Modified:
    commons/proper/bcel/trunk/src/main/java/org/apache/commons/bcel6/generic/ClassGen.java

Modified: commons/proper/bcel/trunk/src/main/java/org/apache/commons/bcel6/generic/ClassGen.java
URL: http://svn.apache.org/viewvc/commons/proper/bcel/trunk/src/main/java/org/apache/commons/bcel6/generic/ClassGen.java?rev=1695680&r1=1695679&r2=1695680&view=diff
==============================================================================
--- commons/proper/bcel/trunk/src/main/java/org/apache/commons/bcel6/generic/ClassGen.java
(original)
+++ commons/proper/bcel/trunk/src/main/java/org/apache/commons/bcel6/generic/ClassGen.java
Thu Aug 13 11:39:27 2015
@@ -243,7 +243,7 @@ public class ClassGen extends AccessFlag
     /** Set major version number of class file, default value is 45 (JDK 1.1)
      * @param major major version number
      */
-    public void setMajor( int major ) {
+    public void setMajor( int major ) { // TODO could be package-protected - only called
by test code
         this.major = major;
     }
 
@@ -251,11 +251,10 @@ public class ClassGen extends AccessFlag
     /** Set minor version number of class file, default value is 3 (JDK 1.1)
      * @param minor minor version number
      */
-    public void setMinor( int minor ) {
+    public void setMinor( int minor ) {  // TODO could be package-protected - only called
by test code
         this.minor = minor;
     }
 
-
     /**
      * @return minor version number of class file
      */
@@ -416,13 +415,13 @@ public class ClassGen extends AccessFlag
     }
 
 
-    public void setClassName( String name ) {
+    public void setClassName( String name ) { // TODO unused
         class_name = name.replace('/', '.');
         class_name_index = cp.addClass(name);
     }
 
 
-    public void setSuperclassName( String name ) {
+    public void setSuperclassName( String name ) { // TODO unused
         super_class_name = name.replace('/', '.');
         superclass_name_index = cp.addClass(name);
     }
@@ -433,7 +432,7 @@ public class ClassGen extends AccessFlag
     }
 
 
-    public void setMethods( Method[] methods ) {
+    public void setMethods( Method[] methods ) { // TODO unused
         method_vec.clear();
         for (Method method : methods) {
             addMethod(method);
@@ -441,7 +440,7 @@ public class ClassGen extends AccessFlag
     }
 
 
-    public void setMethodAt( Method method, int pos ) {
+    public void setMethodAt( Method method, int pos ) { // TODO unused
         method_vec.set(pos, method);
     }
 
@@ -489,19 +488,19 @@ public class ClassGen extends AccessFlag
     }
 
 
-    public void setConstantPool( ConstantPoolGen constant_pool ) {
+    public void setConstantPool( ConstantPoolGen constant_pool ) { // TODO unused
         cp = constant_pool;
     }
 
 
-    public void setClassNameIndex( int class_name_index ) {
+    public void setClassNameIndex( int class_name_index ) { // TODO unused
         this.class_name_index = class_name_index;
         class_name = cp.getConstantPool().getConstantString(class_name_index,
                 Constants.CONSTANT_Class).replace('/', '.');
     }
 
 
-    public void setSuperclassNameIndex( int superclass_name_index ) {
+    public void setSuperclassNameIndex( int superclass_name_index ) { // TODO unused
         this.superclass_name_index = superclass_name_index;
         super_class_name = cp.getConstantPool().getConstantString(superclass_name_index,
                 Constants.CONSTANT_Class).replace('/', '.');



Mime
View raw message