You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2009/12/04 19:56:45 UTC

svn commit: r887319 [3/3] - in /tomcat/trunk/java/org/apache/tomcat/util/bcel: classfile/ generic/ util/

Modified: tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/RET.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/RET.java?rev=887319&r1=887318&r2=887319&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/RET.java (original)
+++ tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/RET.java Fri Dec  4 18:56:38 2009
@@ -123,17 +123,4 @@
     public Type getType( ConstantPoolGen cp ) {
         return ReturnaddressType.NO_TARGET;
     }
-
-
-    /**
-     * Call corresponding visitor method(s). The order is:
-     * Call visitor methods of implemented interfaces first, then
-     * call methods according to the class hierarchy in descending order,
-     * i.e., the most specific visitXXX() call comes last.
-     *
-     * @param v Visitor object
-     */
-    public void accept( Visitor v ) {
-        v.visitRET(this);
-    }
 }

Modified: tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/RETURN.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/RETURN.java?rev=887319&r1=887318&r2=887319&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/RETURN.java (original)
+++ tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/RETURN.java Fri Dec  4 18:56:38 2009
@@ -28,21 +28,4 @@
     public RETURN() {
         super(org.apache.tomcat.util.bcel.Constants.RETURN);
     }
-
-
-    /**
-     * Call corresponding visitor method(s). The order is:
-     * Call visitor methods of implemented interfaces first, then
-     * call methods according to the class hierarchy in descending order,
-     * i.e., the most specific visitXXX() call comes last.
-     *
-     * @param v Visitor object
-     */
-    public void accept( Visitor v ) {
-        v.visitExceptionThrower(this);
-        v.visitTypedInstruction(this);
-        v.visitStackConsumer(this);
-        v.visitReturnInstruction(this);
-        v.visitRETURN(this);
-    }
 }

Modified: tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/SALOAD.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/SALOAD.java?rev=887319&r1=887318&r2=887319&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/SALOAD.java (original)
+++ tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/SALOAD.java Fri Dec  4 18:56:38 2009
@@ -28,21 +28,4 @@
     public SALOAD() {
         super(org.apache.tomcat.util.bcel.Constants.SALOAD);
     }
-
-
-    /**
-     * Call corresponding visitor method(s). The order is:
-     * Call visitor methods of implemented interfaces first, then
-     * call methods according to the class hierarchy in descending order,
-     * i.e., the most specific visitXXX() call comes last.
-     *
-     * @param v Visitor object
-     */
-    public void accept( Visitor v ) {
-        v.visitStackProducer(this);
-        v.visitExceptionThrower(this);
-        v.visitTypedInstruction(this);
-        v.visitArrayInstruction(this);
-        v.visitSALOAD(this);
-    }
 }

Modified: tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/SASTORE.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/SASTORE.java?rev=887319&r1=887318&r2=887319&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/SASTORE.java (original)
+++ tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/SASTORE.java Fri Dec  4 18:56:38 2009
@@ -28,21 +28,4 @@
     public SASTORE() {
         super(org.apache.tomcat.util.bcel.Constants.SASTORE);
     }
-
-
-    /**
-     * Call corresponding visitor method(s). The order is:
-     * Call visitor methods of implemented interfaces first, then
-     * call methods according to the class hierarchy in descending order,
-     * i.e., the most specific visitXXX() call comes last.
-     *
-     * @param v Visitor object
-     */
-    public void accept( Visitor v ) {
-        v.visitStackConsumer(this);
-        v.visitExceptionThrower(this);
-        v.visitTypedInstruction(this);
-        v.visitArrayInstruction(this);
-        v.visitSASTORE(this);
-    }
 }

Modified: tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/SIPUSH.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/SIPUSH.java?rev=887319&r1=887318&r2=887319&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/SIPUSH.java (original)
+++ tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/SIPUSH.java Fri Dec  4 18:56:38 2009
@@ -83,21 +83,4 @@
     public Type getType( ConstantPoolGen cp ) {
         return Type.SHORT;
     }
-
-
-    /**
-     * Call corresponding visitor method(s). The order is:
-     * Call visitor methods of implemented interfaces first, then
-     * call methods according to the class hierarchy in descending order,
-     * i.e., the most specific visitXXX() call comes last.
-     *
-     * @param v Visitor object
-     */
-    public void accept( Visitor v ) {
-        v.visitPushInstruction(this);
-        v.visitStackProducer(this);
-        v.visitTypedInstruction(this);
-        v.visitConstantPushInstruction(this);
-        v.visitSIPUSH(this);
-    }
 }

Modified: tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/SWAP.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/SWAP.java?rev=887319&r1=887318&r2=887319&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/SWAP.java (original)
+++ tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/SWAP.java Fri Dec  4 18:56:38 2009
@@ -28,20 +28,4 @@
     public SWAP() {
         super(org.apache.tomcat.util.bcel.Constants.SWAP);
     }
-
-
-    /**
-     * Call corresponding visitor method(s). The order is:
-     * Call visitor methods of implemented interfaces first, then
-     * call methods according to the class hierarchy in descending order,
-     * i.e., the most specific visitXXX() call comes last.
-     *
-     * @param v Visitor object
-     */
-    public void accept( Visitor v ) {
-        v.visitStackConsumer(this);
-        v.visitStackProducer(this);
-        v.visitStackInstruction(this);
-        v.visitSWAP(this);
-    }
 }

Modified: tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/StoreInstruction.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/StoreInstruction.java?rev=887319&r1=887318&r2=887319&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/StoreInstruction.java (original)
+++ tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/StoreInstruction.java Fri Dec  4 18:56:38 2009
@@ -43,21 +43,4 @@
     protected StoreInstruction(short opcode, short c_tag, int n) {
         super(opcode, c_tag, n);
     }
-
-
-    /**
-     * Call corresponding visitor method(s). The order is:
-     * Call visitor methods of implemented interfaces first, then
-     * call methods according to the class hierarchy in descending order,
-     * i.e., the most specific visitXXX() call comes last.
-     *
-     * @param v Visitor object
-     */
-    public void accept( Visitor v ) {
-        v.visitStackConsumer(this);
-        v.visitPopInstruction(this);
-        v.visitTypedInstruction(this);
-        v.visitLocalVariableInstruction(this);
-        v.visitStoreInstruction(this);
-    }
 }

Modified: tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/TABLESWITCH.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/TABLESWITCH.java?rev=887319&r1=887318&r2=887319&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/TABLESWITCH.java (original)
+++ tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/TABLESWITCH.java Fri Dec  4 18:56:38 2009
@@ -87,21 +87,4 @@
             indices[i] = bytes.readInt();
         }
     }
-
-
-    /**
-     * Call corresponding visitor method(s). The order is:
-     * Call visitor methods of implemented interfaces first, then
-     * call methods according to the class hierarchy in descending order,
-     * i.e., the most specific visitXXX() call comes last.
-     *
-     * @param v Visitor object
-     */
-    public void accept( Visitor v ) {
-        v.visitVariableLengthInstruction(this);
-        v.visitStackProducer(this);
-        v.visitBranchInstruction(this);
-        v.visitSelect(this);
-        v.visitTABLESWITCH(this);
-    }
 }



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org