public abstract class FrameworkPath extends Object implements Comparable<FrameworkPath>, AddsToRuleKey
Modifier and Type | Class and Description |
---|---|
protected static class |
FrameworkPath.Type
The type of framework entry this object represents.
|
Constructor and Description |
---|
FrameworkPath() |
Modifier and Type | Method and Description |
---|---|
protected void |
check() |
int |
compareTo(FrameworkPath o) |
Iterator<BuildRule> |
getDeps(SourcePathRuleFinder ruleFinder) |
Path |
getFileName(java.util.function.Function<SourcePath,Path> resolver) |
String |
getName(java.util.function.Function<SourcePath,Path> resolver) |
abstract Optional<SourcePath> |
getSourcePath() |
abstract Optional<SourceTreePath> |
getSourceTreePath() |
abstract FrameworkPath.Type |
getType() |
static Path |
getUnexpandedSearchPath(java.util.function.Function<SourcePath,Path> resolver,
java.util.function.Function<? super Path,Path> relativizer,
FrameworkPath input) |
boolean |
isSDKROOTFrameworkPath() |
static FrameworkPath |
of(FrameworkPath.Type type,
Optional<? extends SourceTreePath> sourceTreePath,
Optional<? extends SourcePath> sourcePath) |
static FrameworkPath |
ofSourcePath(SourcePath sourcePath) |
static FrameworkPath |
ofSourceTreePath(SourceTreePath sourceTreePath) |
public abstract FrameworkPath.Type getType()
public abstract Optional<SourceTreePath> getSourceTreePath()
public abstract Optional<SourcePath> getSourcePath()
public Iterator<BuildRule> getDeps(SourcePathRuleFinder ruleFinder)
public Path getFileName(java.util.function.Function<SourcePath,Path> resolver)
public String getName(java.util.function.Function<SourcePath,Path> resolver)
public boolean isSDKROOTFrameworkPath()
public static Path getUnexpandedSearchPath(java.util.function.Function<SourcePath,Path> resolver, java.util.function.Function<? super Path,Path> relativizer, FrameworkPath input)
public static FrameworkPath of(FrameworkPath.Type type, Optional<? extends SourceTreePath> sourceTreePath, Optional<? extends SourcePath> sourcePath)
@Value.Check protected void check()
public int compareTo(FrameworkPath o)
compareTo
in interface Comparable<FrameworkPath>
public static FrameworkPath ofSourceTreePath(SourceTreePath sourceTreePath)
public static FrameworkPath ofSourcePath(SourcePath sourcePath)