@Immutable
public final class Token
extends Object
-
Field Summary
Fields
private final @Nullable String
-
Constructor Summary
Constructors
-
Method Summary
-
Field Details
-
type
@NotNull
private final @NotNull TokenType type
-
data
@Nullable
private final @Nullable String data
-
Constructor Details
-
Token
public Token(@NotNull
@NotNull TokenType type)
-
Token
public Token(@NotNull
@NotNull TokenType type,
@Nullable
@Nullable String data)
-
Method Details
-
-
data
@Nullable
public @Nullable String data()
-