| java.lang.Object com.google.gwt.dev.jdt.StandardSourceOracle
All known Subclasses: com.google.gwt.dev.shell.HostedModeSourceOracle,
StandardSourceOracle | public class StandardSourceOracle implements SourceOracle(Code) | | Provides a mutable compilation service host on top of a
com.google.gwt.dev.typeinfo.TypeOracle as well as providing
subclasses an opportunity to substitute their own source to implement
special-handling, such as rewriting JSNI source.
|
StandardSourceOracle | public StandardSourceOracle(TypeOracle typeOracle)(Code) | | Parameters: typeOracle - answers questions about compilation unit locations Parameters: genDir - for compilation units whose location does not correspond to aURL that can be opened, their source will be written to thisdirectory to support debugging, or null if thesource need not be written to disk |
findCompilationUnit | final public CompilationUnitProvider findCompilationUnit(TreeLogger logger, String typeName) throws UnableToCompleteException(Code) | | Attempts to find the compilation unit for the requested type. Often
legitimately returns null because the compilation service
does tests to help determine whether a particular symbol refers to a
package or a type.
|
invalidateCups | void invalidateCups(Set typeNames)(Code) | | |
isPackage | final public boolean isPackage(String possiblePackageName)(Code) | | Determines whether or not a particular name is a package name.
|
|
|