< prev index next >
src/java.xml/share/classes/com/sun/org/apache/bcel/internal/generic/Select.java
Print this page
*** 1,7 ****
/*
! * Copyright (c) 2017, 2019, Oracle and/or its affiliates. All rights reserved.
*/
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
--- 1,7 ----
/*
! * Copyright (c) 2017, 2020, Oracle and/or its affiliates. All rights reserved.
*/
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
*** 27,41 ****
/**
* Select - Abstract super class for LOOKUPSWITCH and TABLESWITCH instructions.
*
* <p>We use our super's <code>target</code> property as the default target.
*
- * @version $Id$
* @see LOOKUPSWITCH
* @see TABLESWITCH
* @see InstructionList
! * @LastModified: Jun 2019
*/
public abstract class Select extends BranchInstruction implements VariableLengthInstruction,
StackConsumer /* @since 6.0 */, StackProducer {
private int[] match; // matches, i.e., case 1: ... TODO could be package-protected?
--- 27,40 ----
/**
* Select - Abstract super class for LOOKUPSWITCH and TABLESWITCH instructions.
*
* <p>We use our super's <code>target</code> property as the default target.
*
* @see LOOKUPSWITCH
* @see TABLESWITCH
* @see InstructionList
! * @LastModified: Jan 2020
*/
public abstract class Select extends BranchInstruction implements VariableLengthInstruction,
StackConsumer /* @since 6.0 */, StackProducer {
private int[] match; // matches, i.e., case 1: ... TODO could be package-protected?
*** 44,55 ****
private int fixed_length; // fixed length defined by subclasses TODO could be package-protected?
private int match_length; // number of cases TODO could be package-protected?
private int padding = 0; // number of pad bytes for alignment TODO could be package-protected?
/**
! * Empty constructor needed for the Class.newInstance() statement in
! * Instruction.readInstruction(). Not to be used otherwise.
*/
Select() {
}
--- 43,54 ----
private int fixed_length; // fixed length defined by subclasses TODO could be package-protected?
private int match_length; // number of cases TODO could be package-protected?
private int padding = 0; // number of pad bytes for alignment TODO could be package-protected?
/**
! * Empty constructor needed for Instruction.readInstruction.
! * Not to be used otherwise.
*/
Select() {
}
< prev index next >