Return-Path: Delivered-To: apmail-tomcat-dev-archive@www.apache.org Received: (qmail 8228 invoked from network); 4 Dec 2009 18:57:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 4 Dec 2009 18:57:28 -0000 Received: (qmail 38148 invoked by uid 500); 4 Dec 2009 18:57:18 -0000 Delivered-To: apmail-tomcat-dev-archive@tomcat.apache.org Received: (qmail 38082 invoked by uid 500); 4 Dec 2009 18:57:18 -0000 Mailing-List: contact dev-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Developers List" Delivered-To: mailing list dev@tomcat.apache.org Received: (qmail 38071 invoked by uid 99); 4 Dec 2009 18:57:18 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Dec 2009 18:57:18 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Dec 2009 18:57:11 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id BD3C6238898A; Fri, 4 Dec 2009 18:56:48 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r887319 [2/3] - in /tomcat/trunk/java/org/apache/tomcat/util/bcel: classfile/ generic/ util/ Date: Fri, 04 Dec 2009 18:56:45 -0000 To: dev@tomcat.apache.org From: markt@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20091204185648.BD3C6238898A@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Modified: tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/IASTORE.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/IASTORE.java?rev=887319&r1=887318&r2=887319&view=diff ============================================================================== --- tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/IASTORE.java (original) +++ tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/IASTORE.java Fri Dec 4 18:56:38 2009 @@ -31,21 +31,4 @@ public IASTORE() { super(org.apache.tomcat.util.bcel.Constants.IASTORE); } - - - /** - * 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.visitIASTORE(this); - } } Modified: tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/ICONST.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/ICONST.java?rev=887319&r1=887318&r2=887319&view=diff ============================================================================== --- tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/ICONST.java (original) +++ tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/ICONST.java Fri Dec 4 18:56:38 2009 @@ -58,21 +58,4 @@ public Type getType( ConstantPoolGen cp ) { return Type.INT; } - - - /** - * 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.visitICONST(this); - } } Modified: tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/IDIV.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/IDIV.java?rev=887319&r1=887318&r2=887319&view=diff ============================================================================== --- tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/IDIV.java (original) +++ tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/IDIV.java Fri Dec 4 18:56:38 2009 @@ -39,22 +39,4 @@ org.apache.tomcat.util.bcel.ExceptionConstants.ARITHMETIC_EXCEPTION }; } - - - /** - * 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.visitStackProducer(this); - v.visitStackConsumer(this); - v.visitArithmeticInstruction(this); - v.visitIDIV(this); - } } Modified: tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/IFEQ.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/IFEQ.java?rev=887319&r1=887318&r2=887319&view=diff ============================================================================== --- tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/IFEQ.java (original) +++ tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/IFEQ.java Fri Dec 4 18:56:38 2009 @@ -45,20 +45,4 @@ public IfInstruction negate() { return new IFNE(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.visitStackConsumer(this); - v.visitBranchInstruction(this); - v.visitIfInstruction(this); - v.visitIFEQ(this); - } } Modified: tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/IFGE.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/IFGE.java?rev=887319&r1=887318&r2=887319&view=diff ============================================================================== --- tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/IFGE.java (original) +++ tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/IFGE.java Fri Dec 4 18:56:38 2009 @@ -45,20 +45,4 @@ public IfInstruction negate() { return new IFLT(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.visitStackConsumer(this); - v.visitBranchInstruction(this); - v.visitIfInstruction(this); - v.visitIFGE(this); - } } Modified: tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/IFGT.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/IFGT.java?rev=887319&r1=887318&r2=887319&view=diff ============================================================================== --- tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/IFGT.java (original) +++ tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/IFGT.java Fri Dec 4 18:56:38 2009 @@ -45,20 +45,4 @@ public IfInstruction negate() { return new IFLE(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.visitStackConsumer(this); - v.visitBranchInstruction(this); - v.visitIfInstruction(this); - v.visitIFGT(this); - } } Modified: tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/IFLE.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/IFLE.java?rev=887319&r1=887318&r2=887319&view=diff ============================================================================== --- tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/IFLE.java (original) +++ tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/IFLE.java Fri Dec 4 18:56:38 2009 @@ -45,20 +45,4 @@ public IfInstruction negate() { return new IFGT(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.visitStackConsumer(this); - v.visitBranchInstruction(this); - v.visitIfInstruction(this); - v.visitIFLE(this); - } } Modified: tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/IFLT.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/IFLT.java?rev=887319&r1=887318&r2=887319&view=diff ============================================================================== --- tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/IFLT.java (original) +++ tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/IFLT.java Fri Dec 4 18:56:38 2009 @@ -45,20 +45,4 @@ public IfInstruction negate() { return new IFGE(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.visitStackConsumer(this); - v.visitBranchInstruction(this); - v.visitIfInstruction(this); - v.visitIFLT(this); - } } Modified: tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/IFNE.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/IFNE.java?rev=887319&r1=887318&r2=887319&view=diff ============================================================================== --- tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/IFNE.java (original) +++ tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/IFNE.java Fri Dec 4 18:56:38 2009 @@ -45,20 +45,4 @@ public IfInstruction negate() { return new IFEQ(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.visitStackConsumer(this); - v.visitBranchInstruction(this); - v.visitIfInstruction(this); - v.visitIFNE(this); - } } Modified: tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/IFNONNULL.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/IFNONNULL.java?rev=887319&r1=887318&r2=887319&view=diff ============================================================================== --- tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/IFNONNULL.java (original) +++ tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/IFNONNULL.java Fri Dec 4 18:56:38 2009 @@ -45,20 +45,4 @@ public IfInstruction negate() { return new IFNULL(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.visitStackConsumer(this); - v.visitBranchInstruction(this); - v.visitIfInstruction(this); - v.visitIFNONNULL(this); - } } Modified: tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/IFNULL.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/IFNULL.java?rev=887319&r1=887318&r2=887319&view=diff ============================================================================== --- tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/IFNULL.java (original) +++ tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/IFNULL.java Fri Dec 4 18:56:38 2009 @@ -45,20 +45,4 @@ public IfInstruction negate() { return new IFNONNULL(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.visitStackConsumer(this); - v.visitBranchInstruction(this); - v.visitIfInstruction(this); - v.visitIFNULL(this); - } } Modified: tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/IF_ACMPEQ.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/IF_ACMPEQ.java?rev=887319&r1=887318&r2=887319&view=diff ============================================================================== --- tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/IF_ACMPEQ.java (original) +++ tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/IF_ACMPEQ.java Fri Dec 4 18:56:38 2009 @@ -45,20 +45,4 @@ public IfInstruction negate() { return new IF_ACMPNE(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.visitStackConsumer(this); - v.visitBranchInstruction(this); - v.visitIfInstruction(this); - v.visitIF_ACMPEQ(this); - } } Modified: tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/IF_ACMPNE.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/IF_ACMPNE.java?rev=887319&r1=887318&r2=887319&view=diff ============================================================================== --- tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/IF_ACMPNE.java (original) +++ tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/IF_ACMPNE.java Fri Dec 4 18:56:38 2009 @@ -45,20 +45,4 @@ public IfInstruction negate() { return new IF_ACMPEQ(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.visitStackConsumer(this); - v.visitBranchInstruction(this); - v.visitIfInstruction(this); - v.visitIF_ACMPNE(this); - } } Modified: tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/IF_ICMPEQ.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/IF_ICMPEQ.java?rev=887319&r1=887318&r2=887319&view=diff ============================================================================== --- tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/IF_ICMPEQ.java (original) +++ tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/IF_ICMPEQ.java Fri Dec 4 18:56:38 2009 @@ -45,20 +45,4 @@ public IfInstruction negate() { return new IF_ICMPNE(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.visitStackConsumer(this); - v.visitBranchInstruction(this); - v.visitIfInstruction(this); - v.visitIF_ICMPEQ(this); - } } Modified: tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/IF_ICMPGE.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/IF_ICMPGE.java?rev=887319&r1=887318&r2=887319&view=diff ============================================================================== --- tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/IF_ICMPGE.java (original) +++ tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/IF_ICMPGE.java Fri Dec 4 18:56:38 2009 @@ -45,20 +45,4 @@ public IfInstruction negate() { return new IF_ICMPLT(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.visitStackConsumer(this); - v.visitBranchInstruction(this); - v.visitIfInstruction(this); - v.visitIF_ICMPGE(this); - } } Modified: tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/IF_ICMPGT.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/IF_ICMPGT.java?rev=887319&r1=887318&r2=887319&view=diff ============================================================================== --- tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/IF_ICMPGT.java (original) +++ tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/IF_ICMPGT.java Fri Dec 4 18:56:38 2009 @@ -45,20 +45,4 @@ public IfInstruction negate() { return new IF_ICMPLE(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.visitStackConsumer(this); - v.visitBranchInstruction(this); - v.visitIfInstruction(this); - v.visitIF_ICMPGT(this); - } } Modified: tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/IF_ICMPLE.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/IF_ICMPLE.java?rev=887319&r1=887318&r2=887319&view=diff ============================================================================== --- tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/IF_ICMPLE.java (original) +++ tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/IF_ICMPLE.java Fri Dec 4 18:56:38 2009 @@ -45,20 +45,4 @@ public IfInstruction negate() { return new IF_ICMPGT(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.visitStackConsumer(this); - v.visitBranchInstruction(this); - v.visitIfInstruction(this); - v.visitIF_ICMPLE(this); - } } Modified: tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/IF_ICMPLT.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/IF_ICMPLT.java?rev=887319&r1=887318&r2=887319&view=diff ============================================================================== --- tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/IF_ICMPLT.java (original) +++ tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/IF_ICMPLT.java Fri Dec 4 18:56:38 2009 @@ -45,20 +45,4 @@ public IfInstruction negate() { return new IF_ICMPGE(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.visitStackConsumer(this); - v.visitBranchInstruction(this); - v.visitIfInstruction(this); - v.visitIF_ICMPLT(this); - } } Modified: tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/IF_ICMPNE.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/IF_ICMPNE.java?rev=887319&r1=887318&r2=887319&view=diff ============================================================================== --- tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/IF_ICMPNE.java (original) +++ tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/IF_ICMPNE.java Fri Dec 4 18:56:38 2009 @@ -45,20 +45,4 @@ public IfInstruction negate() { return new IF_ICMPEQ(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.visitStackConsumer(this); - v.visitBranchInstruction(this); - v.visitIfInstruction(this); - v.visitIF_ICMPNE(this); - } } Modified: tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/IINC.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/IINC.java?rev=887319&r1=887318&r2=887319&view=diff ============================================================================== --- tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/IINC.java (original) +++ tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/IINC.java Fri Dec 4 18:56:38 2009 @@ -141,18 +141,4 @@ public Type getType( ConstantPoolGen cp ) { return Type.INT; } - - - /** - * 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.visitLocalVariableInstruction(this); - v.visitIINC(this); - } } Modified: tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/ILOAD.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/ILOAD.java?rev=887319&r1=887318&r2=887319&view=diff ============================================================================== --- tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/ILOAD.java (original) +++ tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/ILOAD.java Fri Dec 4 18:56:38 2009 @@ -40,18 +40,4 @@ public ILOAD(int n) { super(org.apache.tomcat.util.bcel.Constants.ILOAD, org.apache.tomcat.util.bcel.Constants.ILOAD_0, 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 ) { - super.accept(v); - v.visitILOAD(this); - } } Modified: tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/IMPDEP1.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/IMPDEP1.java?rev=887319&r1=887318&r2=887319&view=diff ============================================================================== --- tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/IMPDEP1.java (original) +++ tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/IMPDEP1.java Fri Dec 4 18:56:38 2009 @@ -27,17 +27,4 @@ public IMPDEP1() { super(org.apache.tomcat.util.bcel.Constants.IMPDEP1, (short) 1); } - - - /** - * 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.visitIMPDEP1(this); - } } Modified: tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/IMPDEP2.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/IMPDEP2.java?rev=887319&r1=887318&r2=887319&view=diff ============================================================================== --- tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/IMPDEP2.java (original) +++ tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/IMPDEP2.java Fri Dec 4 18:56:38 2009 @@ -27,17 +27,4 @@ public IMPDEP2() { super(org.apache.tomcat.util.bcel.Constants.IMPDEP2, (short) 1); } - - - /** - * 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.visitIMPDEP2(this); - } } Modified: tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/IMUL.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/IMUL.java?rev=887319&r1=887318&r2=887319&view=diff ============================================================================== --- tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/IMUL.java (original) +++ tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/IMUL.java Fri Dec 4 18:56:38 2009 @@ -30,21 +30,4 @@ public IMUL() { super(org.apache.tomcat.util.bcel.Constants.IMUL); } - - - /** - * 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.visitTypedInstruction(this); - v.visitStackProducer(this); - v.visitStackConsumer(this); - v.visitArithmeticInstruction(this); - v.visitIMUL(this); - } } Modified: tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/INEG.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/INEG.java?rev=887319&r1=887318&r2=887319&view=diff ============================================================================== --- tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/INEG.java (original) +++ tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/INEG.java Fri Dec 4 18:56:38 2009 @@ -28,21 +28,4 @@ public INEG() { super(org.apache.tomcat.util.bcel.Constants.INEG); } - - - /** - * 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.visitTypedInstruction(this); - v.visitStackProducer(this); - v.visitStackConsumer(this); - v.visitArithmeticInstruction(this); - v.visitINEG(this); - } } Modified: tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/INSTANCEOF.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/INSTANCEOF.java?rev=887319&r1=887318&r2=887319&view=diff ============================================================================== --- tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/INSTANCEOF.java (original) +++ tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/INSTANCEOF.java Fri Dec 4 18:56:38 2009 @@ -51,23 +51,4 @@ } return (t instanceof ObjectType) ? (ObjectType) t : null; } - - - /** - * 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.visitLoadClass(this); - v.visitExceptionThrower(this); - v.visitStackProducer(this); - v.visitStackConsumer(this); - v.visitTypedInstruction(this); - v.visitCPInstruction(this); - v.visitINSTANCEOF(this); - } } Modified: tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/INVOKEINTERFACE.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/INVOKEINTERFACE.java?rev=887319&r1=887318&r2=887319&view=diff ============================================================================== --- tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/INVOKEINTERFACE.java (original) +++ tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/INVOKEINTERFACE.java Fri Dec 4 18:56:38 2009 @@ -108,25 +108,4 @@ cs[ExceptionConstants.EXCS_INTERFACE_METHOD_RESOLUTION.length] = ExceptionConstants.UNSATISFIED_LINK_ERROR; return cs; } - - - /** - * 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.visitStackProducer(this); - v.visitLoadClass(this); - v.visitCPInstruction(this); - v.visitFieldOrMethod(this); - v.visitInvokeInstruction(this); - v.visitINVOKEINTERFACE(this); - } } Modified: tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/INVOKESPECIAL.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/INVOKESPECIAL.java?rev=887319&r1=887318&r2=887319&view=diff ============================================================================== --- tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/INVOKESPECIAL.java (original) +++ tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/INVOKESPECIAL.java Fri Dec 4 18:56:38 2009 @@ -53,25 +53,4 @@ cs[ExceptionConstants.EXCS_FIELD_AND_METHOD_RESOLUTION.length] = ExceptionConstants.NULL_POINTER_EXCEPTION; return cs; } - - - /** - * 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.visitStackProducer(this); - v.visitLoadClass(this); - v.visitCPInstruction(this); - v.visitFieldOrMethod(this); - v.visitInvokeInstruction(this); - v.visitINVOKESPECIAL(this); - } } Modified: tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/INVOKESTATIC.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/INVOKESTATIC.java?rev=887319&r1=887318&r2=887319&view=diff ============================================================================== --- tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/INVOKESTATIC.java (original) +++ tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/INVOKESTATIC.java Fri Dec 4 18:56:38 2009 @@ -50,25 +50,4 @@ cs[ExceptionConstants.EXCS_FIELD_AND_METHOD_RESOLUTION.length + 1] = ExceptionConstants.INCOMPATIBLE_CLASS_CHANGE_ERROR; return cs; } - - - /** - * 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.visitStackProducer(this); - v.visitLoadClass(this); - v.visitCPInstruction(this); - v.visitFieldOrMethod(this); - v.visitInvokeInstruction(this); - v.visitINVOKESTATIC(this); - } } Modified: tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/INVOKEVIRTUAL.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/INVOKEVIRTUAL.java?rev=887319&r1=887318&r2=887319&view=diff ============================================================================== --- tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/INVOKEVIRTUAL.java (original) +++ tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/INVOKEVIRTUAL.java Fri Dec 4 18:56:38 2009 @@ -52,25 +52,4 @@ cs[ExceptionConstants.EXCS_FIELD_AND_METHOD_RESOLUTION.length] = ExceptionConstants.NULL_POINTER_EXCEPTION; return cs; } - - - /** - * 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.visitStackProducer(this); - v.visitLoadClass(this); - v.visitCPInstruction(this); - v.visitFieldOrMethod(this); - v.visitInvokeInstruction(this); - v.visitINVOKEVIRTUAL(this); - } } Modified: tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/IOR.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/IOR.java?rev=887319&r1=887318&r2=887319&view=diff ============================================================================== --- tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/IOR.java (original) +++ tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/IOR.java Fri Dec 4 18:56:38 2009 @@ -28,21 +28,4 @@ public IOR() { super(org.apache.tomcat.util.bcel.Constants.IOR); } - - - /** - * 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.visitTypedInstruction(this); - v.visitStackProducer(this); - v.visitStackConsumer(this); - v.visitArithmeticInstruction(this); - v.visitIOR(this); - } } Modified: tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/IREM.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/IREM.java?rev=887319&r1=887318&r2=887319&view=diff ============================================================================== --- tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/IREM.java (original) +++ tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/IREM.java Fri Dec 4 18:56:38 2009 @@ -39,22 +39,4 @@ org.apache.tomcat.util.bcel.ExceptionConstants.ARITHMETIC_EXCEPTION }; } - - - /** - * 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.visitStackProducer(this); - v.visitStackConsumer(this); - v.visitArithmeticInstruction(this); - v.visitIREM(this); - } } Modified: tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/IRETURN.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/IRETURN.java?rev=887319&r1=887318&r2=887319&view=diff ============================================================================== --- tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/IRETURN.java (original) +++ tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/IRETURN.java Fri Dec 4 18:56:38 2009 @@ -30,21 +30,4 @@ public IRETURN() { super(org.apache.tomcat.util.bcel.Constants.IRETURN); } - - - /** - * 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.visitIRETURN(this); - } } Modified: tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/ISHL.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/ISHL.java?rev=887319&r1=887318&r2=887319&view=diff ============================================================================== --- tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/ISHL.java (original) +++ tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/ISHL.java Fri Dec 4 18:56:38 2009 @@ -28,21 +28,4 @@ public ISHL() { super(org.apache.tomcat.util.bcel.Constants.ISHL); } - - - /** - * 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.visitTypedInstruction(this); - v.visitStackProducer(this); - v.visitStackConsumer(this); - v.visitArithmeticInstruction(this); - v.visitISHL(this); - } } Modified: tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/ISHR.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/ISHR.java?rev=887319&r1=887318&r2=887319&view=diff ============================================================================== --- tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/ISHR.java (original) +++ tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/ISHR.java Fri Dec 4 18:56:38 2009 @@ -28,21 +28,4 @@ public ISHR() { super(org.apache.tomcat.util.bcel.Constants.ISHR); } - - - /** - * 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.visitTypedInstruction(this); - v.visitStackProducer(this); - v.visitStackConsumer(this); - v.visitArithmeticInstruction(this); - v.visitISHR(this); - } } Modified: tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/ISTORE.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/ISTORE.java?rev=887319&r1=887318&r2=887319&view=diff ============================================================================== --- tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/ISTORE.java (original) +++ tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/ISTORE.java Fri Dec 4 18:56:38 2009 @@ -40,18 +40,4 @@ public ISTORE(int n) { super(org.apache.tomcat.util.bcel.Constants.ISTORE, org.apache.tomcat.util.bcel.Constants.ISTORE_0, 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 ) { - super.accept(v); - v.visitISTORE(this); - } } Modified: tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/ISUB.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/ISUB.java?rev=887319&r1=887318&r2=887319&view=diff ============================================================================== --- tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/ISUB.java (original) +++ tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/ISUB.java Fri Dec 4 18:56:38 2009 @@ -30,21 +30,4 @@ public ISUB() { super(org.apache.tomcat.util.bcel.Constants.ISUB); } - - - /** - * 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.visitTypedInstruction(this); - v.visitStackProducer(this); - v.visitStackConsumer(this); - v.visitArithmeticInstruction(this); - v.visitISUB(this); - } } Modified: tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/IUSHR.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/IUSHR.java?rev=887319&r1=887318&r2=887319&view=diff ============================================================================== --- tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/IUSHR.java (original) +++ tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/IUSHR.java Fri Dec 4 18:56:38 2009 @@ -28,21 +28,4 @@ public IUSHR() { super(org.apache.tomcat.util.bcel.Constants.IUSHR); } - - - /** - * 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.visitTypedInstruction(this); - v.visitStackProducer(this); - v.visitStackConsumer(this); - v.visitArithmeticInstruction(this); - v.visitIUSHR(this); - } } Modified: tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/IXOR.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/IXOR.java?rev=887319&r1=887318&r2=887319&view=diff ============================================================================== --- tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/IXOR.java (original) +++ tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/IXOR.java Fri Dec 4 18:56:38 2009 @@ -28,21 +28,4 @@ public IXOR() { super(org.apache.tomcat.util.bcel.Constants.IXOR); } - - - /** - * 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.visitTypedInstruction(this); - v.visitStackProducer(this); - v.visitStackConsumer(this); - v.visitArithmeticInstruction(this); - v.visitIXOR(this); - } } Modified: tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/Instruction.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/Instruction.java?rev=887319&r1=887318&r2=887319&view=diff ============================================================================== --- tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/Instruction.java (original) +++ tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/Instruction.java Fri Dec 4 18:56:38 2009 @@ -511,17 +511,6 @@ } - /** - * 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 abstract void accept( Visitor v ); - - /** Get Comparator object used in the equals() method to determine * equality of instructions. * Modified: tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/InstructionHandle.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/InstructionHandle.java?rev=887319&r1=887318&r2=887319&view=diff ============================================================================== --- tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/InstructionHandle.java (original) +++ tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/InstructionHandle.java Fri Dec 4 18:56:38 2009 @@ -278,13 +278,4 @@ } return attributes.values(); } - - - /** Convenience method, simply calls accept() on the contained instruction. - * - * @param v Visitor object - */ - public void accept( Visitor v ) { - instruction.accept(v); - } } Modified: tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/JSR.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/JSR.java?rev=887319&r1=887318&r2=887319&view=diff ============================================================================== --- tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/JSR.java (original) +++ tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/JSR.java Fri Dec 4 18:56:38 2009 @@ -66,21 +66,4 @@ } return 0; } - - - /** - * 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.visitVariableLengthInstruction(this); - v.visitBranchInstruction(this); - v.visitJsrInstruction(this); - v.visitJSR(this); - } } Modified: tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/JSR_W.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/JSR_W.java?rev=887319&r1=887318&r2=887319&view=diff ============================================================================== --- tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/JSR_W.java (original) +++ tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/JSR_W.java Fri Dec 4 18:56:38 2009 @@ -60,20 +60,4 @@ index = bytes.readInt(); length = 5; } - - - /** - * 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.visitBranchInstruction(this); - v.visitJsrInstruction(this); - v.visitJSR_W(this); - } } Modified: tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/L2D.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/L2D.java?rev=887319&r1=887318&r2=887319&view=diff ============================================================================== --- tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/L2D.java (original) +++ tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/L2D.java Fri Dec 4 18:56:38 2009 @@ -28,21 +28,4 @@ public L2D() { super(org.apache.tomcat.util.bcel.Constants.L2D); } - - - /** - * 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.visitTypedInstruction(this); - v.visitStackProducer(this); - v.visitStackConsumer(this); - v.visitConversionInstruction(this); - v.visitL2D(this); - } } Modified: tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/L2F.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/L2F.java?rev=887319&r1=887318&r2=887319&view=diff ============================================================================== --- tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/L2F.java (original) +++ tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/L2F.java Fri Dec 4 18:56:38 2009 @@ -28,21 +28,4 @@ public L2F() { super(org.apache.tomcat.util.bcel.Constants.L2F); } - - - /** - * 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.visitTypedInstruction(this); - v.visitStackProducer(this); - v.visitStackConsumer(this); - v.visitConversionInstruction(this); - v.visitL2F(this); - } } Modified: tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/L2I.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/L2I.java?rev=887319&r1=887318&r2=887319&view=diff ============================================================================== --- tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/L2I.java (original) +++ tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/L2I.java Fri Dec 4 18:56:38 2009 @@ -28,21 +28,4 @@ public L2I() { super(org.apache.tomcat.util.bcel.Constants.L2I); } - - - /** - * 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.visitTypedInstruction(this); - v.visitStackProducer(this); - v.visitStackConsumer(this); - v.visitConversionInstruction(this); - v.visitL2I(this); - } } Modified: tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/LADD.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/LADD.java?rev=887319&r1=887318&r2=887319&view=diff ============================================================================== --- tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/LADD.java (original) +++ tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/LADD.java Fri Dec 4 18:56:38 2009 @@ -29,21 +29,4 @@ public LADD() { super(org.apache.tomcat.util.bcel.Constants.LADD); } - - - /** - * 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.visitTypedInstruction(this); - v.visitStackProducer(this); - v.visitStackConsumer(this); - v.visitArithmeticInstruction(this); - v.visitLADD(this); - } } Modified: tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/LALOAD.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/LALOAD.java?rev=887319&r1=887318&r2=887319&view=diff ============================================================================== --- tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/LALOAD.java (original) +++ tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/LALOAD.java Fri Dec 4 18:56:38 2009 @@ -30,21 +30,4 @@ public LALOAD() { super(org.apache.tomcat.util.bcel.Constants.LALOAD); } - - - /** - * 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.visitLALOAD(this); - } } Modified: tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/LAND.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/LAND.java?rev=887319&r1=887318&r2=887319&view=diff ============================================================================== --- tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/LAND.java (original) +++ tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/LAND.java Fri Dec 4 18:56:38 2009 @@ -29,21 +29,4 @@ public LAND() { super(org.apache.tomcat.util.bcel.Constants.LAND); } - - - /** - * 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.visitTypedInstruction(this); - v.visitStackProducer(this); - v.visitStackConsumer(this); - v.visitArithmeticInstruction(this); - v.visitLAND(this); - } } Modified: tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/LASTORE.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/LASTORE.java?rev=887319&r1=887318&r2=887319&view=diff ============================================================================== --- tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/LASTORE.java (original) +++ tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/LASTORE.java Fri Dec 4 18:56:38 2009 @@ -30,21 +30,4 @@ public LASTORE() { super(org.apache.tomcat.util.bcel.Constants.LASTORE); } - - - /** - * 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.visitLASTORE(this); - } } Modified: tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/LCMP.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/LCMP.java?rev=887319&r1=887318&r2=887319&view=diff ============================================================================== --- tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/LCMP.java (original) +++ tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/LCMP.java Fri Dec 4 18:56:38 2009 @@ -36,20 +36,4 @@ public Type getType( ConstantPoolGen cp ) { return Type.LONG; } - - - /** - * 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.visitTypedInstruction(this); - v.visitStackProducer(this); - v.visitStackConsumer(this); - v.visitLCMP(this); - } } Modified: tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/LCONST.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/LCONST.java?rev=887319&r1=887318&r2=887319&view=diff ============================================================================== --- tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/LCONST.java (original) +++ tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/LCONST.java Fri Dec 4 18:56:38 2009 @@ -60,21 +60,4 @@ public Type getType( ConstantPoolGen cp ) { return Type.LONG; } - - - /** - * 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.visitLCONST(this); - } } Modified: tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/LDC.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/LDC.java?rev=887319&r1=887318&r2=887319&view=diff ============================================================================== --- tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/LDC.java (original) +++ tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/LDC.java Fri Dec 4 18:56:38 2009 @@ -127,22 +127,4 @@ public Class[] getExceptions() { return org.apache.tomcat.util.bcel.ExceptionConstants.EXCS_STRING_RESOLUTION; } - - - /** - * 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.visitPushInstruction(this); - v.visitExceptionThrower(this); - v.visitTypedInstruction(this); - v.visitCPInstruction(this); - v.visitLDC(this); - } } Modified: tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/LDC2_W.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/LDC2_W.java?rev=887319&r1=887318&r2=887319&view=diff ============================================================================== --- tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/LDC2_W.java (original) +++ tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/LDC2_W.java Fri Dec 4 18:56:38 2009 @@ -62,21 +62,4 @@ throw new RuntimeException("Unknown or invalid constant type at " + index); } } - - - /** - * 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.visitPushInstruction(this); - v.visitTypedInstruction(this); - v.visitCPInstruction(this); - v.visitLDC2_W(this); - } } Modified: tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/LDIV.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/LDIV.java?rev=887319&r1=887318&r2=887319&view=diff ============================================================================== --- tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/LDIV.java (original) +++ tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/LDIV.java Fri Dec 4 18:56:38 2009 @@ -36,22 +36,4 @@ org.apache.tomcat.util.bcel.ExceptionConstants.ARITHMETIC_EXCEPTION }; } - - - /** - * 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.visitStackProducer(this); - v.visitStackConsumer(this); - v.visitArithmeticInstruction(this); - v.visitLDIV(this); - } } Modified: tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/LLOAD.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/LLOAD.java?rev=887319&r1=887318&r2=887319&view=diff ============================================================================== --- tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/LLOAD.java (original) +++ tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/LLOAD.java Fri Dec 4 18:56:38 2009 @@ -37,18 +37,4 @@ public LLOAD(int n) { super(org.apache.tomcat.util.bcel.Constants.LLOAD, org.apache.tomcat.util.bcel.Constants.LLOAD_0, 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 ) { - super.accept(v); - v.visitLLOAD(this); - } } Modified: tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/LMUL.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/LMUL.java?rev=887319&r1=887318&r2=887319&view=diff ============================================================================== --- tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/LMUL.java (original) +++ tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/LMUL.java Fri Dec 4 18:56:38 2009 @@ -29,21 +29,4 @@ public LMUL() { super(org.apache.tomcat.util.bcel.Constants.LMUL); } - - - /** - * 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.visitTypedInstruction(this); - v.visitStackProducer(this); - v.visitStackConsumer(this); - v.visitArithmeticInstruction(this); - v.visitLMUL(this); - } } Modified: tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/LNEG.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/LNEG.java?rev=887319&r1=887318&r2=887319&view=diff ============================================================================== --- tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/LNEG.java (original) +++ tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/LNEG.java Fri Dec 4 18:56:38 2009 @@ -28,21 +28,4 @@ public LNEG() { super(org.apache.tomcat.util.bcel.Constants.LNEG); } - - - /** - * 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.visitTypedInstruction(this); - v.visitStackProducer(this); - v.visitStackConsumer(this); - v.visitArithmeticInstruction(this); - v.visitLNEG(this); - } } Modified: tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/LOOKUPSWITCH.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/LOOKUPSWITCH.java?rev=887319&r1=887318&r2=887319&view=diff ============================================================================== --- tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/LOOKUPSWITCH.java (original) +++ tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/LOOKUPSWITCH.java Fri Dec 4 18:56:38 2009 @@ -75,21 +75,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.visitLOOKUPSWITCH(this); - } } Modified: tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/LOR.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/LOR.java?rev=887319&r1=887318&r2=887319&view=diff ============================================================================== --- tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/LOR.java (original) +++ tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/LOR.java Fri Dec 4 18:56:38 2009 @@ -28,21 +28,4 @@ public LOR() { super(org.apache.tomcat.util.bcel.Constants.LOR); } - - - /** - * 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.visitTypedInstruction(this); - v.visitStackProducer(this); - v.visitStackConsumer(this); - v.visitArithmeticInstruction(this); - v.visitLOR(this); - } } Modified: tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/LREM.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/LREM.java?rev=887319&r1=887318&r2=887319&view=diff ============================================================================== --- tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/LREM.java (original) +++ tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/LREM.java Fri Dec 4 18:56:38 2009 @@ -35,22 +35,4 @@ org.apache.tomcat.util.bcel.ExceptionConstants.ARITHMETIC_EXCEPTION }; } - - - /** - * 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.visitStackProducer(this); - v.visitStackConsumer(this); - v.visitArithmeticInstruction(this); - v.visitLREM(this); - } } Modified: tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/LRETURN.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/LRETURN.java?rev=887319&r1=887318&r2=887319&view=diff ============================================================================== --- tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/LRETURN.java (original) +++ tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/LRETURN.java Fri Dec 4 18:56:38 2009 @@ -28,21 +28,4 @@ public LRETURN() { super(org.apache.tomcat.util.bcel.Constants.LRETURN); } - - - /** - * 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.visitLRETURN(this); - } } Modified: tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/LSHL.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/LSHL.java?rev=887319&r1=887318&r2=887319&view=diff ============================================================================== --- tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/LSHL.java (original) +++ tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/LSHL.java Fri Dec 4 18:56:38 2009 @@ -28,21 +28,4 @@ public LSHL() { super(org.apache.tomcat.util.bcel.Constants.LSHL); } - - - /** - * 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.visitTypedInstruction(this); - v.visitStackProducer(this); - v.visitStackConsumer(this); - v.visitArithmeticInstruction(this); - v.visitLSHL(this); - } } Modified: tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/LSHR.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/LSHR.java?rev=887319&r1=887318&r2=887319&view=diff ============================================================================== --- tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/LSHR.java (original) +++ tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/LSHR.java Fri Dec 4 18:56:38 2009 @@ -28,21 +28,4 @@ public LSHR() { super(org.apache.tomcat.util.bcel.Constants.LSHR); } - - - /** - * 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.visitTypedInstruction(this); - v.visitStackProducer(this); - v.visitStackConsumer(this); - v.visitArithmeticInstruction(this); - v.visitLSHR(this); - } } Modified: tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/LSTORE.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/LSTORE.java?rev=887319&r1=887318&r2=887319&view=diff ============================================================================== --- tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/LSTORE.java (original) +++ tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/LSTORE.java Fri Dec 4 18:56:38 2009 @@ -37,18 +37,4 @@ public LSTORE(int n) { super(org.apache.tomcat.util.bcel.Constants.LSTORE, org.apache.tomcat.util.bcel.Constants.LSTORE_0, 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 ) { - super.accept(v); - v.visitLSTORE(this); - } } Modified: tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/LSUB.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/LSUB.java?rev=887319&r1=887318&r2=887319&view=diff ============================================================================== --- tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/LSUB.java (original) +++ tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/LSUB.java Fri Dec 4 18:56:38 2009 @@ -29,21 +29,4 @@ public LSUB() { super(org.apache.tomcat.util.bcel.Constants.LSUB); } - - - /** - * 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.visitTypedInstruction(this); - v.visitStackProducer(this); - v.visitStackConsumer(this); - v.visitArithmeticInstruction(this); - v.visitLSUB(this); - } } Modified: tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/LUSHR.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/LUSHR.java?rev=887319&r1=887318&r2=887319&view=diff ============================================================================== --- tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/LUSHR.java (original) +++ tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/LUSHR.java Fri Dec 4 18:56:38 2009 @@ -28,21 +28,4 @@ public LUSHR() { super(org.apache.tomcat.util.bcel.Constants.LUSHR); } - - - /** - * 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.visitTypedInstruction(this); - v.visitStackProducer(this); - v.visitStackConsumer(this); - v.visitArithmeticInstruction(this); - v.visitLUSHR(this); - } } Modified: tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/LXOR.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/LXOR.java?rev=887319&r1=887318&r2=887319&view=diff ============================================================================== --- tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/LXOR.java (original) +++ tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/LXOR.java Fri Dec 4 18:56:38 2009 @@ -28,21 +28,4 @@ public LXOR() { super(org.apache.tomcat.util.bcel.Constants.LXOR); } - - - /** - * 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.visitTypedInstruction(this); - v.visitStackProducer(this); - v.visitStackConsumer(this); - v.visitArithmeticInstruction(this); - v.visitLXOR(this); - } } Modified: tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/LoadInstruction.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/LoadInstruction.java?rev=887319&r1=887318&r2=887319&view=diff ============================================================================== --- tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/LoadInstruction.java (original) +++ tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/LoadInstruction.java Fri Dec 4 18:56:38 2009 @@ -43,21 +43,4 @@ protected LoadInstruction(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.visitStackProducer(this); - v.visitPushInstruction(this); - v.visitTypedInstruction(this); - v.visitLocalVariableInstruction(this); - v.visitLoadInstruction(this); - } } Modified: tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/MONITORENTER.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/MONITORENTER.java?rev=887319&r1=887318&r2=887319&view=diff ============================================================================== --- tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/MONITORENTER.java (original) +++ tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/MONITORENTER.java Fri Dec 4 18:56:38 2009 @@ -35,19 +35,4 @@ org.apache.tomcat.util.bcel.ExceptionConstants.NULL_POINTER_EXCEPTION }; } - - - /** - * 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.visitStackConsumer(this); - v.visitMONITORENTER(this); - } } Modified: tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/MONITOREXIT.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/MONITOREXIT.java?rev=887319&r1=887318&r2=887319&view=diff ============================================================================== --- tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/MONITOREXIT.java (original) +++ tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/MONITOREXIT.java Fri Dec 4 18:56:38 2009 @@ -35,19 +35,4 @@ org.apache.tomcat.util.bcel.ExceptionConstants.NULL_POINTER_EXCEPTION }; } - - - /** - * 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.visitStackConsumer(this); - v.visitMONITOREXIT(this); - } } Modified: tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/MULTIANEWARRAY.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/MULTIANEWARRAY.java?rev=887319&r1=887318&r2=887319&view=diff ============================================================================== --- tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/MULTIANEWARRAY.java (original) +++ tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/MULTIANEWARRAY.java Fri Dec 4 18:56:38 2009 @@ -125,22 +125,4 @@ } return (t instanceof ObjectType) ? (ObjectType) t : null; } - - - /** - * 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.visitLoadClass(this); - v.visitAllocationInstruction(this); - v.visitExceptionThrower(this); - v.visitTypedInstruction(this); - v.visitCPInstruction(this); - v.visitMULTIANEWARRAY(this); - } } Modified: tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/NEW.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/NEW.java?rev=887319&r1=887318&r2=887319&view=diff ============================================================================== --- tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/NEW.java (original) +++ tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/NEW.java Fri Dec 4 18:56:38 2009 @@ -54,23 +54,4 @@ public ObjectType getLoadClassType( ConstantPoolGen cpg ) { return (ObjectType) getType(cpg); } - - - /** - * 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.visitLoadClass(this); - v.visitAllocationInstruction(this); - v.visitExceptionThrower(this); - v.visitStackProducer(this); - v.visitTypedInstruction(this); - v.visitCPInstruction(this); - v.visitNEW(this); - } } Modified: tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/NEWARRAY.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/NEWARRAY.java?rev=887319&r1=887318&r2=887319&view=diff ============================================================================== --- tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/NEWARRAY.java (original) +++ tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/NEWARRAY.java Fri Dec 4 18:56:38 2009 @@ -101,20 +101,4 @@ org.apache.tomcat.util.bcel.ExceptionConstants.NEGATIVE_ARRAY_SIZE_EXCEPTION }; } - - - /** - * 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.visitAllocationInstruction(this); - v.visitExceptionThrower(this); - v.visitStackProducer(this); - v.visitNEWARRAY(this); - } } Modified: tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/NOP.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/NOP.java?rev=887319&r1=887318&r2=887319&view=diff ============================================================================== --- tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/NOP.java (original) +++ tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/NOP.java Fri Dec 4 18:56:38 2009 @@ -27,17 +27,4 @@ public NOP() { super(org.apache.tomcat.util.bcel.Constants.NOP, (short) 1); } - - - /** - * 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.visitNOP(this); - } } Modified: tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/POP.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/POP.java?rev=887319&r1=887318&r2=887319&view=diff ============================================================================== --- tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/POP.java (original) +++ tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/POP.java Fri Dec 4 18:56:38 2009 @@ -29,20 +29,4 @@ public POP() { super(org.apache.tomcat.util.bcel.Constants.POP); } - - - /** - * 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.visitStackInstruction(this); - v.visitPOP(this); - } } Modified: tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/POP2.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/POP2.java?rev=887319&r1=887318&r2=887319&view=diff ============================================================================== --- tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/POP2.java (original) +++ tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/POP2.java Fri Dec 4 18:56:38 2009 @@ -29,20 +29,4 @@ public POP2() { super(org.apache.tomcat.util.bcel.Constants.POP2); } - - - /** - * 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.visitStackInstruction(this); - v.visitPOP2(this); - } } Modified: tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/PUTFIELD.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/PUTFIELD.java?rev=887319&r1=887318&r2=887319&view=diff ============================================================================== --- tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/PUTFIELD.java (original) +++ tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/PUTFIELD.java Fri Dec 4 18:56:38 2009 @@ -56,25 +56,4 @@ cs[ExceptionConstants.EXCS_FIELD_AND_METHOD_RESOLUTION.length] = ExceptionConstants.NULL_POINTER_EXCEPTION; return cs; } - - - /** - * 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.visitStackConsumer(this); - v.visitPopInstruction(this); - v.visitTypedInstruction(this); - v.visitLoadClass(this); - v.visitCPInstruction(this); - v.visitFieldOrMethod(this); - v.visitFieldInstruction(this); - v.visitPUTFIELD(this); - } } Modified: tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/PUTSTATIC.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/PUTSTATIC.java?rev=887319&r1=887318&r2=887319&view=diff ============================================================================== --- tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/PUTSTATIC.java (original) +++ tomcat/trunk/java/org/apache/tomcat/util/bcel/generic/PUTSTATIC.java Fri Dec 4 18:56:38 2009 @@ -55,25 +55,4 @@ cs[ExceptionConstants.EXCS_FIELD_AND_METHOD_RESOLUTION.length] = ExceptionConstants.INCOMPATIBLE_CLASS_CHANGE_ERROR; return cs; } - - - /** - * 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.visitStackConsumer(this); - v.visitPopInstruction(this); - v.visitTypedInstruction(this); - v.visitLoadClass(this); - v.visitCPInstruction(this); - v.visitFieldOrMethod(this); - v.visitFieldInstruction(this); - v.visitPUTSTATIC(this); - } } --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org For additional commands, e-mail: dev-help@tomcat.apache.org