public class DirectiveNameToken extends Token {
@Nonnull public final DirectiveNameSubtype subtype;
public DirectiveNameToken(@Nonnull String value) {
super(value);
DirectiveNameSubtype subtype = DirectiveNameSubtype.fromString(value);
<BUG>if (subtype == null) {
throw new IllegalArgumentException("Unrecognised directive name: " + value);
}</BUG>
this.subtype = subtype;
}

public class DirectiveNameToken extends Token {
@Nonnull public final DirectiveNameSubtype subtype;
public DirectiveNameToken(@Nonnull String value) {
super(value);
DirectiveNameSubtype subtype = DirectiveNameSubtype.fromString(value);
this.subtype = subtype;
}
