< prev index next >

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

Print this page




  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 import com.sun.org.apache.bcel.internal.util.ByteSequence;
  28 
  29 /**
  30  * GOTO_W - Branch always (to relative offset, not absolute address)
  31  *
  32  * @version $Id$
  33  */
  34 public class GOTO_W extends GotoInstruction {
  35 
  36     /**
  37      * Empty constructor needed for Instruction.readInstruction.
  38      * Not to be used otherwise.
  39      */
  40     GOTO_W() {
  41     }
  42 
  43 
  44     public GOTO_W(final InstructionHandle target) {
  45         super(com.sun.org.apache.bcel.internal.Const.GOTO_W, target);
  46         super.setLength(5);
  47     }
  48 
  49 
  50     /**
  51      * Dump instruction as byte code to stream out.
  52      * @param out Output stream




  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 import com.sun.org.apache.bcel.internal.util.ByteSequence;
  28 
  29 /**
  30  * GOTO_W - Branch always (to relative offset, not absolute address)
  31  *

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


< prev index next >