public class QueryTargetAccessor extends Object
Modifier and Type | Method and Description |
---|---|
static QueryTarget |
extractBuildTargetContainer(BuildTarget buildTargetContainer) |
static QueryTarget |
extractSourcePath(SourcePath sourcePath) |
static <T extends ConstructorArg> |
filterAttributeContents(TypeCoercerFactory typeCoercerFactory,
TargetNode<T> node,
String attribute,
java.util.function.Predicate<Object> predicate,
CellNameResolver cellNameResolver)
Filters the objects in the given attribute that satisfy the given predicate.
|
static <T extends ConstructorArg> |
getTargetsInAttribute(TypeCoercerFactory typeCoercerFactory,
TargetNode<T> node,
String attribute,
CellNameResolver cellPathResolver)
Get targets in attribute.
|
public static <T extends ConstructorArg> com.google.common.collect.ImmutableSet<QueryTarget> getTargetsInAttribute(TypeCoercerFactory typeCoercerFactory, TargetNode<T> node, String attribute, CellNameResolver cellPathResolver)
public static QueryTarget extractSourcePath(SourcePath sourcePath)
public static <T extends ConstructorArg> com.google.common.collect.ImmutableSet<Object> filterAttributeContents(TypeCoercerFactory typeCoercerFactory, TargetNode<T> node, String attribute, java.util.function.Predicate<Object> predicate, CellNameResolver cellNameResolver)
public static QueryTarget extractBuildTargetContainer(BuildTarget buildTargetContainer)