public class DefaultClassInfo<T extends AddsToRuleKey> extends Object implements ClassInfo<T>
Modifier and Type | Method and Description |
---|---|
com.google.common.collect.ImmutableCollection<FieldInfo<?>> |
getFieldInfos() |
Optional<ClassInfo<? super T>> |
getSuperInfo() |
String |
getType()
Returns a lower underscore name for this type.
|
<E extends Exception> |
visit(T value,
ValueVisitor<E> visitor) |
public String getType()
ClassInfo
getType
in interface ClassInfo<T extends AddsToRuleKey>
public <E extends Exception> void visit(T value, ValueVisitor<E> visitor) throws E extends Exception
visit
in interface ClassInfo<T extends AddsToRuleKey>
E extends Exception
public Optional<ClassInfo<? super T>> getSuperInfo()
getSuperInfo
in interface ClassInfo<T extends AddsToRuleKey>
public com.google.common.collect.ImmutableCollection<FieldInfo<?>> getFieldInfos()
getFieldInfos
in interface ClassInfo<T extends AddsToRuleKey>