Class DependencyInfo.Base
- java.lang.Object
-
- com.google.javascript.jscomp.deps.DependencyInfo.Base
-
- All Implemented Interfaces:
DependencyInfo
- Direct Known Subclasses:
CompilerInput
,JSChunk
,LazyParsedDependencyInfo
,SimpleDependencyInfo
- Enclosing interface:
- DependencyInfo
public abstract static class DependencyInfo.Base extends java.lang.Object implements DependencyInfo
Abstract base implementation that defines derived accessors such asisModule()
.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.google.javascript.jscomp.deps.DependencyInfo
DependencyInfo.Base, DependencyInfo.Require, DependencyInfo.Util
-
-
Constructor Summary
Constructors Constructor Description Base()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.google.common.collect.ImmutableList<java.lang.String>
getRequiredSymbols()
boolean
isModule()
Whether the symbol is provided by a module-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.google.javascript.jscomp.deps.DependencyInfo
getHasExternsAnnotation, getHasNoCompileAnnotation, getLoadFlags, getName, getPathRelativeToClosureBase, getProvides, getRequires, getTypeRequires
-
-
-
-
Method Detail
-
isModule
public boolean isModule()
Description copied from interface:DependencyInfo
Whether the symbol is provided by a module- Specified by:
isModule
in interfaceDependencyInfo
-
getRequiredSymbols
public com.google.common.collect.ImmutableList<java.lang.String> getRequiredSymbols()
- Specified by:
getRequiredSymbols
in interfaceDependencyInfo
-
-