public abstract class AbstractOptionParser<T> extends java.lang.Object implements OptionParser<T>
Modifier and Type | Field and Description |
---|---|
protected com.google.common.reflect.TypeToken<T> |
token |
Modifier | Constructor and Description |
---|---|
protected |
AbstractOptionParser(java.lang.Class<T> type) |
protected |
AbstractOptionParser(com.google.common.reflect.TypeToken<T> token) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
toString() |
com.google.common.reflect.TypeToken<T> |
type() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
parse
protected final com.google.common.reflect.TypeToken<T> token
protected AbstractOptionParser(java.lang.Class<T> type)
protected AbstractOptionParser(com.google.common.reflect.TypeToken<T> token)
public final com.google.common.reflect.TypeToken<T> type()
type
in interface OptionParser<T>
public java.lang.String toString()
toString
in class java.lang.Object