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() throws ServiceException
getName in interface SourceFileServiceExceptionpublic String getContent() throws ServiceException
getContent in interface SourceFileServiceExceptionpublic boolean wasModified()
throws ServiceException
wasModified in interface SourceFileServiceExceptionpublic void ensureUpToDate()
throws ServiceException
ServiceExceptionpublic DependencyInfo getDependencyInfo(String symbol)
Copyright © 2009-2015 Google. All Rights Reserved.