Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,14 @@ public String getKey() {
return key;
}

public Class<T> getType() {
return type;
}

public T cast(Object value) {
return type.cast(value);
}

/**
* Get the option value (if it was set) and check the type.
*
Expand Down
Loading
Loading