this.text = text;
}
}
@Data
@EqualsAndHashCode(callSuper = true)
<BUG>protected class FormatToken extends Token {
</BUG>
private final boolean state;
public FormatToken(String type, boolean state) {
super(type);

this.text = text;
}
}
@Data
@EqualsAndHashCode(callSuper = true)
public static class FormatToken extends Token {
private final boolean state;
public FormatToken(String type, boolean state) {
super(type);
