20 package net.sf.gridarta.plugin.parameter;
25 import org.jetbrains.annotations.NotNull;
42 private int min = Integer.MIN_VALUE;
47 private int max = Integer.MAX_VALUE;
59 return visitor.visit(
this);
66 intValue = Integer.parseInt(stringValue);
67 }
catch (
final NumberFormatException ignored) {
76 super.setValue(intValue);
83 super.setValue(Math.max(Math.min(
value,
max),
min));
111 final int newMax = Math.max(
min,
max);
112 if (this.max == newMax) {
135 final int newMin = Math.min(
min,
max);
136 if (this.min == newMin) {