public class InputsMapBuilder extends Object
AddsToRuleKey
object that directly references other AddsToRuleKey objects or
SourcePaths, or InputsMapBuilder.Data
node will be created. This allows two things: (1) we don't need to
traverse the object structure of shared appendables multiple times and (2) it is easy for
consumers to cache computed information based on this derived graph.Modifier and Type | Class and Description |
---|---|
static class |
InputsMapBuilder.Data
Holds the information derived from a rulekey appendable.
|
Constructor and Description |
---|
InputsMapBuilder() |
Modifier and Type | Method and Description |
---|---|
InputsMapBuilder.Data |
getInputs(ModernBuildRule<?> rule) |
<T extends AddsToRuleKey> |
getInputs(T instance)
Computes the "inputs" graph of rule key appendables.
|
<T extends AddsToRuleKey> |
getInputs(T instance,
ClassInfo<T> classInfo)
See getInputs(T instance) above.
|
public <T extends AddsToRuleKey> InputsMapBuilder.Data getInputs(T instance)
public InputsMapBuilder.Data getInputs(ModernBuildRule<?> rule)
public <T extends AddsToRuleKey> InputsMapBuilder.Data getInputs(T instance, ClassInfo<T> classInfo)