public final class DependencyFile extends Object implements SourceFile
Constructor and Description |
---|
DependencyFile(SourceFile delegate)
Creates a new dependency file.
|
Modifier and Type | Method and Description |
---|---|
void |
ensureUpToDate()
Ensures that the dependency graph is up to date and reloads the graph if
necessary.
|
String |
getContent() |
DependencyInfo |
getDependencyInfo(String symbol)
Gets the dependency info for the provided symbol, if contained in this
dependency file.
|
String |
getName() |
boolean |
wasModified() |
public DependencyFile(SourceFile delegate)
public String getName()
getName
in interface SourceFile
public String getContent()
getContent
in interface SourceFile
public boolean wasModified()
wasModified
in interface SourceFile
public void ensureUpToDate() throws ServiceException
ServiceException
public DependencyInfo getDependencyInfo(String symbol)
Copyright © 2009-2017 Google. All Rights Reserved.