6 * under the terms of the GNU General Public License version 2 only, as 7 * published by the Free Software Foundation. 8 * 9 * This code is distributed in the hope that it will be useful, but WITHOUT 10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 12 * version 2 for more details (a copy is included in the LICENSE file that 13 * accompanied this code). 14 * 15 * You should have received a copy of the GNU General Public License version 16 * 2 along with this work; if not, write to the Free Software Foundation, 17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 18 * 19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 20 * or visit www.oracle.com if you need additional information or have any 21 * questions. 22 */ 23 24 package jdk.test.lib.jittester.factories; 25 26 public abstract class OperatorFactory extends Factory { 27 protected long complexityLimit; 28 protected boolean exceptionSafe; 29 protected boolean noconsts; 30 protected int operatorLimit; 31 protected int operatorPriority; 32 33 protected OperatorFactory(int operatorPriority, long complexityLimit, int operatorLimit, 34 boolean exceptionSafe, boolean noconsts) { 35 this.operatorLimit = operatorLimit; 36 this.complexityLimit = complexityLimit; 37 this.operatorPriority = operatorPriority; 38 this.exceptionSafe = exceptionSafe; 39 this.noconsts = noconsts; 40 } 41 } | 6 * under the terms of the GNU General Public License version 2 only, as 7 * published by the Free Software Foundation. 8 * 9 * This code is distributed in the hope that it will be useful, but WITHOUT 10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 12 * version 2 for more details (a copy is included in the LICENSE file that 13 * accompanied this code). 14 * 15 * You should have received a copy of the GNU General Public License version 16 * 2 along with this work; if not, write to the Free Software Foundation, 17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 18 * 19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 20 * or visit www.oracle.com if you need additional information or have any 21 * questions. 22 */ 23 24 package jdk.test.lib.jittester.factories; 25 26 import jdk.test.lib.jittester.Operator; 27 28 public abstract class OperatorFactory<T extends Operator> extends Factory<T> { 29 protected final long complexityLimit; 30 protected final boolean exceptionSafe; 31 protected final boolean noconsts; 32 protected final int operatorPriority; 33 protected int operatorLimit; 34 35 protected OperatorFactory(int operatorPriority, long complexityLimit, int operatorLimit, 36 boolean exceptionSafe, boolean noconsts) { 37 this.operatorLimit = operatorLimit; 38 this.complexityLimit = complexityLimit; 39 this.operatorPriority = operatorPriority; 40 this.exceptionSafe = exceptionSafe; 41 this.noconsts = noconsts; 42 } 43 } |