public class DepsComputingVisitor extends AbstractValueVisitor<RuntimeException>
Constructor and Description |
---|
DepsComputingVisitor(InputRuleResolver inputRuleResolver,
java.util.function.Consumer<BuildRule> depsBuilder) |
Modifier and Type | Method and Description |
---|---|
<T extends AddsToRuleKey> |
visitDynamic(T value,
ClassInfo<T> classInfo) |
<T> void |
visitField(Field field,
T value,
ValueTypeInfo<T> valueTypeInfo,
List<Class<? extends CustomFieldBehaviorTag>> behavior) |
void |
visitOutputPath(OutputPath value) |
void |
visitPath(Path path) |
void |
visitSimple(Object value) |
void |
visitSourcePath(SourcePath value) |
visitBoolean, visitByte, visitCharacter, visitDouble, visitFloat, visitInteger, visitList, visitLong, visitMap, visitNullable, visitOptional, visitSet, visitShort, visitSortedMap, visitSortedSet, visitString, visitTargetConfiguration
public DepsComputingVisitor(InputRuleResolver inputRuleResolver, java.util.function.Consumer<BuildRule> depsBuilder)
public <T> void visitField(Field field, T value, ValueTypeInfo<T> valueTypeInfo, List<Class<? extends CustomFieldBehaviorTag>> behavior) throws RuntimeException
visitField
in interface ValueVisitor<RuntimeException>
visitField
in class AbstractValueVisitor<RuntimeException>
RuntimeException
public <T extends AddsToRuleKey> void visitDynamic(T value, ClassInfo<T> classInfo) throws RuntimeException
visitDynamic
in interface ValueVisitor<RuntimeException>
visitDynamic
in class AbstractValueVisitor<RuntimeException>
RuntimeException
public void visitOutputPath(OutputPath value)
public void visitSourcePath(SourcePath value)
public void visitSimple(Object value)
visitSimple
in class AbstractValueVisitor<RuntimeException>
public void visitPath(Path path)