Class LazyParsedDependencyInfo

  • All Implemented Interfaces:
    DependencyInfo, java.io.Serializable

    public class LazyParsedDependencyInfo
    extends DependencyInfo.Base
    A DependencyInfo class that determines load flags by parsing the AST just-in-time.
    See Also:
    Serialized Form
    • Method Detail

      • getLoadFlags

        public com.google.common.collect.ImmutableMap<java.lang.String,​java.lang.String> getLoadFlags()
        Description copied from interface: DependencyInfo
        Gets the loading information for this file.
      • getName

        public java.lang.String getName()
        Description copied from interface: DependencyInfo
        Gets the unique name / path of this file.
      • getPathRelativeToClosureBase

        public java.lang.String getPathRelativeToClosureBase()
        Description copied from interface: DependencyInfo
        Gets the path of this file relative to Closure's base.js file.
      • getRequires

        public com.google.common.collect.ImmutableList<DependencyInfo.Require> getRequires()
        Description copied from interface: DependencyInfo
        Gets the symbols required by this file.
      • getTypeRequires

        public com.google.common.collect.ImmutableList<java.lang.String> getTypeRequires()
        Description copied from interface: DependencyInfo
        Gets the symbols type-required by this file (i.e. for typechecking only).
      • getProvides

        public com.google.common.collect.ImmutableList<java.lang.String> getProvides()
        Description copied from interface: DependencyInfo
        Gets the symbols provided by this file.
      • getHasExternsAnnotation

        public boolean getHasExternsAnnotation()
        Description copied from interface: DependencyInfo
        Whether the file '@externs' annotation.
      • getHasNoCompileAnnotation

        public boolean getHasNoCompileAnnotation()
        Description copied from interface: DependencyInfo
        Whether the file has the '@nocompile' annotation.