jaxp/src/java.xml/share/classes/com/sun/org/apache/bcel/internal/generic/ISHL.java
changeset 46174 5611d2529b49
parent 44797 8b3b3b911b8a
equal deleted inserted replaced
46173:5546b5710844 46174:5611d2529b49
    19  * limitations under the License.
    19  * limitations under the License.
    20  */
    20  */
    21 
    21 
    22 package com.sun.org.apache.bcel.internal.generic;
    22 package com.sun.org.apache.bcel.internal.generic;
    23 
    23 
    24 
       
    25 /**
    24 /**
    26  * ISHL - Arithmetic shift left int
    25  * ISHL - Arithmetic shift left int
    27  * <PRE>Stack: ..., value1, value2 -&gt; ..., result</PRE>
    26  * <PRE>Stack: ..., value1, value2 -&gt; ..., result</PRE>
    28  *
    27  *
    29  * @author  <A HREF="mailto:markus.dahm@berlin.de">M. Dahm</A>
    28  * @version $Id: ISHL.java 1747278 2016-06-07 17:28:43Z britter $
    30  */
    29  */
    31 public class ISHL extends ArithmeticInstruction {
    30 public class ISHL extends ArithmeticInstruction {
    32   public ISHL() {
    31 
    33     super(com.sun.org.apache.bcel.internal.Constants.ISHL);
    32     public ISHL() {
    34   }
    33         super(com.sun.org.apache.bcel.internal.Const.ISHL);
       
    34     }
    35 
    35 
    36 
    36 
    37   /**
    37     /**
    38    * Call corresponding visitor method(s). The order is:
    38      * Call corresponding visitor method(s). The order is:
    39    * Call visitor methods of implemented interfaces first, then
    39      * Call visitor methods of implemented interfaces first, then
    40    * call methods according to the class hierarchy in descending order,
    40      * call methods according to the class hierarchy in descending order,
    41    * i.e., the most specific visitXXX() call comes last.
    41      * i.e., the most specific visitXXX() call comes last.
    42    *
    42      *
    43    * @param v Visitor object
    43      * @param v Visitor object
    44    */
    44      */
    45   public void accept(Visitor v) {
    45     @Override
    46     v.visitTypedInstruction(this);
    46     public void accept( final Visitor v ) {
    47     v.visitStackProducer(this);
    47         v.visitTypedInstruction(this);
    48     v.visitStackConsumer(this);
    48         v.visitStackProducer(this);
    49     v.visitArithmeticInstruction(this);
    49         v.visitStackConsumer(this);
    50     v.visitISHL(this);
    50         v.visitArithmeticInstruction(this);
    51   }
    51         v.visitISHL(this);
       
    52     }
    52 }
    53 }