jaxp/src/java.xml/share/classes/com/sun/org/apache/bcel/internal/generic/DSTORE.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  * DSTORE - Store double into local variable
    25  * DSTORE - Store double into local variable
    27  * <pre>Stack: ..., value.word1, value.word2 -&gt; ... </PRE>
    26  * <pre>Stack: ..., value.word1, value.word2 -&gt; ... </PRE>
    28  *
    27  *
    29  * @author  <A HREF="mailto:markus.dahm@berlin.de">M. Dahm</A>
    28  * @version $Id: DSTORE.java 1747278 2016-06-07 17:28:43Z britter $
    30  */
    29  */
    31 public class DSTORE extends StoreInstruction {
    30 public class DSTORE extends StoreInstruction {
    32   /**
       
    33    * Empty constructor needed for the Class.newInstance() statement in
       
    34    * Instruction.readInstruction(). Not to be used otherwise.
       
    35    */
       
    36   DSTORE() {
       
    37     super(com.sun.org.apache.bcel.internal.Constants.DSTORE, com.sun.org.apache.bcel.internal.Constants.DSTORE_0);
       
    38   }
       
    39 
    31 
    40   /** Store double into local variable
    32     /**
    41    * @param n index of local variable
    33      * Empty constructor needed for the Class.newInstance() statement in
    42    */
    34      * Instruction.readInstruction(). Not to be used otherwise.
    43   public DSTORE(int n) {
    35      */
    44     super(com.sun.org.apache.bcel.internal.Constants.DSTORE, com.sun.org.apache.bcel.internal.Constants.DSTORE_0, n);
    36     DSTORE() {
    45   }
    37         super(com.sun.org.apache.bcel.internal.Const.DSTORE, com.sun.org.apache.bcel.internal.Const.DSTORE_0);
       
    38     }
    46 
    39 
    47   /**
    40 
    48    * Call corresponding visitor method(s). The order is:
    41     /** Store double into local variable
    49    * Call visitor methods of implemented interfaces first, then
    42      * @param n index of local variable
    50    * call methods according to the class hierarchy in descending order,
    43      */
    51    * i.e., the most specific visitXXX() call comes last.
    44     public DSTORE(final int n) {
    52    *
    45         super(com.sun.org.apache.bcel.internal.Const.DSTORE, com.sun.org.apache.bcel.internal.Const.DSTORE_0, n);
    53    * @param v Visitor object
    46     }
    54    */
    47 
    55   public void accept(Visitor v) {
    48 
    56     super.accept(v);
    49     /**
    57     v.visitDSTORE(this);
    50      * Call corresponding visitor method(s). The order is:
    58   }
    51      * Call visitor methods of implemented interfaces first, then
       
    52      * call methods according to the class hierarchy in descending order,
       
    53      * i.e., the most specific visitXXX() call comes last.
       
    54      *
       
    55      * @param v Visitor object
       
    56      */
       
    57     @Override
       
    58     public void accept( final Visitor v ) {
       
    59         super.accept(v);
       
    60         v.visitDSTORE(this);
       
    61     }
    59 }
    62 }