public abstract class AbstractValueVisitor<E extends Exception> extends Object implements ValueVisitor<E>
Constructor and Description |
---|
AbstractValueVisitor() |
Modifier and Type | Method and Description |
---|---|
void |
visitBoolean(Boolean value) |
void |
visitByte(Byte value) |
void |
visitCharacter(Character value) |
void |
visitDouble(Double value) |
<T extends AddsToRuleKey> |
visitDynamic(T value,
ClassInfo<T> classInfo) |
<T> void |
visitField(Field field,
T value,
ValueTypeInfo<T> valueTypeInfo,
List<Class<? extends CustomFieldBehaviorTag>> customBehavior) |
void |
visitFloat(Float value) |
void |
visitInteger(Integer value) |
<T> void |
visitList(com.google.common.collect.ImmutableList<T> value,
ValueTypeInfo<T> innerType) |
void |
visitLong(Long value) |
<K,V> void |
visitMap(com.google.common.collect.ImmutableMap<K,V> value,
ValueTypeInfo<K> keyType,
ValueTypeInfo<V> valueType) |
<T> void |
visitNullable(T value,
ValueTypeInfo<T> inner) |
<T> void |
visitOptional(Optional<T> value,
ValueTypeInfo<T> innerType) |
<T> void |
visitSet(com.google.common.collect.ImmutableSet<T> value,
ValueTypeInfo<T> innerType) |
void |
visitShort(Short value) |
protected abstract void |
visitSimple(Object value) |
<K,V> void |
visitSortedMap(com.google.common.collect.ImmutableSortedMap<K,V> value,
ValueTypeInfo<K> keyType,
ValueTypeInfo<V> valueType) |
<T> void |
visitSortedSet(com.google.common.collect.ImmutableSortedSet<T> value,
ValueTypeInfo<T> innerType) |
void |
visitString(String value) |
void |
visitTargetConfiguration(TargetConfiguration value) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
visitOutputPath, visitPath, visitSourcePath
public <T> void visitList(com.google.common.collect.ImmutableList<T> value, ValueTypeInfo<T> innerType) throws E extends Exception
public <T> void visitSet(com.google.common.collect.ImmutableSet<T> value, ValueTypeInfo<T> innerType) throws E extends Exception
public <T> void visitSortedSet(com.google.common.collect.ImmutableSortedSet<T> value, ValueTypeInfo<T> innerType) throws E extends Exception
visitSortedSet
in interface ValueVisitor<E extends Exception>
E extends Exception
public <K,V> void visitMap(com.google.common.collect.ImmutableMap<K,V> value, ValueTypeInfo<K> keyType, ValueTypeInfo<V> valueType) throws E extends Exception
public <K,V> void visitSortedMap(com.google.common.collect.ImmutableSortedMap<K,V> value, ValueTypeInfo<K> keyType, ValueTypeInfo<V> valueType) throws E extends Exception
visitSortedMap
in interface ValueVisitor<E extends Exception>
E extends Exception
public <T> void visitOptional(Optional<T> value, ValueTypeInfo<T> innerType) throws E extends Exception
visitOptional
in interface ValueVisitor<E extends Exception>
E extends Exception
public <T> void visitNullable(@Nullable T value, ValueTypeInfo<T> inner) throws E extends Exception
visitNullable
in interface ValueVisitor<E extends Exception>
E extends Exception
public <T> void visitField(Field field, T value, ValueTypeInfo<T> valueTypeInfo, List<Class<? extends CustomFieldBehaviorTag>> customBehavior) throws E extends Exception
visitField
in interface ValueVisitor<E extends Exception>
E extends Exception
public <T extends AddsToRuleKey> void visitDynamic(T value, ClassInfo<T> classInfo) throws E extends Exception
visitDynamic
in interface ValueVisitor<E extends Exception>
E extends Exception
public void visitString(String value) throws E extends Exception
visitString
in interface ValueVisitor<E extends Exception>
E extends Exception
public void visitCharacter(Character value) throws E extends Exception
visitCharacter
in interface ValueVisitor<E extends Exception>
E extends Exception
public void visitBoolean(Boolean value) throws E extends Exception
visitBoolean
in interface ValueVisitor<E extends Exception>
E extends Exception
public void visitShort(Short value) throws E extends Exception
visitShort
in interface ValueVisitor<E extends Exception>
E extends Exception
public void visitInteger(Integer value) throws E extends Exception
visitInteger
in interface ValueVisitor<E extends Exception>
E extends Exception
public void visitFloat(Float value) throws E extends Exception
visitFloat
in interface ValueVisitor<E extends Exception>
E extends Exception
public void visitDouble(Double value) throws E extends Exception
visitDouble
in interface ValueVisitor<E extends Exception>
E extends Exception
public void visitTargetConfiguration(TargetConfiguration value) throws E extends Exception
visitTargetConfiguration
in interface ValueVisitor<E extends Exception>
E extends Exception