src/java.xml/share/classes/com/sun/org/apache/bcel/internal/generic/ALOAD.java
changeset 55496 8e0ae3830fca
parent 47216 71c04702a3d5
equal deleted inserted replaced
55495:badfa812b82a 55496:8e0ae3830fca
     1 /*
     1 /*
     2  * reserved comment block
     2  * Copyright (c) 2017, 2019, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT REMOVE OR ALTER!
       
     4  */
     3  */
     5 /*
     4 /*
     6  * Licensed to the Apache Software Foundation (ASF) under one or more
     5  * Licensed to the Apache Software Foundation (ASF) under one or more
     7  * contributor license agreements.  See the NOTICE file distributed with
     6  * contributor license agreements.  See the NOTICE file distributed with
     8  * this work for additional information regarding copyright ownership.
     7  * this work for additional information regarding copyright ownership.
    25 
    24 
    26 /**
    25 /**
    27  * ALOAD - Load reference from local variable
    26  * ALOAD - Load reference from local variable
    28  * <PRE>Stack: ... -&gt; ..., objectref</PRE>
    27  * <PRE>Stack: ... -&gt; ..., objectref</PRE>
    29  *
    28  *
    30  * @version $Id: ALOAD.java 1747278 2016-06-07 17:28:43Z britter $
    29  * @version $Id$
       
    30  * @LastModified: Jun 2019
    31  */
    31  */
    32 public class ALOAD extends LoadInstruction {
    32 public class ALOAD extends LoadInstruction {
    33 
    33 
    34     /**
    34     /**
    35      * Empty constructor needed for the Class.newInstance() statement in
    35      * Empty constructor needed for Instruction.readInstruction.
    36      * Instruction.readInstruction(). Not to be used otherwise.
    36      * Not to be used otherwise.
    37      */
    37      */
    38     ALOAD() {
    38     ALOAD() {
    39         super(Const.ALOAD, Const.ALOAD_0);
    39         super(Const.ALOAD, Const.ALOAD_0);
    40     }
    40     }
       
    41 
    41 
    42 
    42     /** Load reference from local variable
    43     /** Load reference from local variable
    43      * @param n index of local variable
    44      * @param n index of local variable
    44      */
    45      */
    45     public ALOAD(final int n) {
    46     public ALOAD(final int n) {
    46         super(Const.ALOAD, Const.ALOAD_0, n);
    47         super(Const.ALOAD, Const.ALOAD_0, n);
    47     }
    48     }
       
    49 
    48 
    50 
    49     /**
    51     /**
    50      * Call corresponding visitor method(s). The order is:
    52      * Call corresponding visitor method(s). The order is:
    51      * Call visitor methods of implemented interfaces first, then
    53      * Call visitor methods of implemented interfaces first, then
    52      * call methods according to the class hierarchy in descending order,
    54      * call methods according to the class hierarchy in descending order,