Interface JSType.WithSourceRef

All Known Implementing Classes:
EnumType, FunctionType, NoObjectType, NoResolvedType, NoType
Enclosing class:
JSType

public static interface JSType.WithSourceRef
A type with source information.
  • Method Summary

    Modifier and Type
    Method
    Description
    @Nullable String
    The ID of the goog.module in which this type was declared.
    @Nullable Node
    The node representing the declaration of this type.
  • Method Details

    • getSource

      @Nullable Node getSource()
      The node representing the declaration of this type.
    • getGoogModuleId

      @Nullable String getGoogModuleId()
      The ID of the goog.module in which this type was declared.