< prev index next >

src/java.xml/share/classes/com/sun/org/apache/bcel/internal/generic/GOTO.java

Print this page




  10  * (the "License"); you may not use this file except in compliance with
  11  * the License.  You may obtain a copy of the License at
  12  *
  13  *      http://www.apache.org/licenses/LICENSE-2.0
  14  *
  15  * Unless required by applicable law or agreed to in writing, software
  16  * distributed under the License is distributed on an "AS IS" BASIS,
  17  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  18  * See the License for the specific language governing permissions and
  19  * limitations under the License.
  20  */
  21 
  22 package com.sun.org.apache.bcel.internal.generic;
  23 
  24 import java.io.DataOutputStream;
  25 import java.io.IOException;
  26 
  27 /**
  28  * GOTO - Branch always (to relative offset, not absolute address)
  29  *
  30  * @version $Id$
  31  */
  32 public class GOTO extends GotoInstruction implements VariableLengthInstruction {
  33 
  34     /**
  35      * Empty constructor needed for Instruction.readInstruction.
  36      * Not to be used otherwise.
  37      */
  38     GOTO() {
  39     }
  40 
  41 
  42     public GOTO(final InstructionHandle target) {
  43         super(com.sun.org.apache.bcel.internal.Const.GOTO, target);
  44     }
  45 
  46 
  47     /**
  48      * Dump instruction as byte code to stream out.
  49      * @param out Output stream
  50      */




  10  * (the "License"); you may not use this file except in compliance with
  11  * the License.  You may obtain a copy of the License at
  12  *
  13  *      http://www.apache.org/licenses/LICENSE-2.0
  14  *
  15  * Unless required by applicable law or agreed to in writing, software
  16  * distributed under the License is distributed on an "AS IS" BASIS,
  17  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  18  * See the License for the specific language governing permissions and
  19  * limitations under the License.
  20  */
  21 
  22 package com.sun.org.apache.bcel.internal.generic;
  23 
  24 import java.io.DataOutputStream;
  25 import java.io.IOException;
  26 
  27 /**
  28  * GOTO - Branch always (to relative offset, not absolute address)
  29  *

  30  */
  31 public class GOTO extends GotoInstruction implements VariableLengthInstruction {
  32 
  33     /**
  34      * Empty constructor needed for Instruction.readInstruction.
  35      * Not to be used otherwise.
  36      */
  37     GOTO() {
  38     }
  39 
  40 
  41     public GOTO(final InstructionHandle target) {
  42         super(com.sun.org.apache.bcel.internal.Const.GOTO, target);
  43     }
  44 
  45 
  46     /**
  47      * Dump instruction as byte code to stream out.
  48      * @param out Output stream
  49      */


< prev index next >