Interface SymbolData

All Superinterfaces:
Serializable

public interface SymbolData extends Serializable
Provides basic information about symbols in the generated JavaScript.
See Also:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static class 
    A Comparator for use when presenting the data to humans.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the name of the type or enclosing type if the symbol is a method or field.
    int
    Returns the fragment number in which the symbol is declared (for a method).
    Returns a JSNI-like identifier for the symbol if it a method or field, otherwise null.
    Returns the name of the member if the symbol is a method or field.
    Returns the runtime typeId.
    int
    Returns the line number on which the symbol was originally declared or -1 if the line number is unknown.
    Returns a URI string representing the location of the source.
    Returns the JavaScript symbol this data maps to.
    boolean
    Returns true if the symbol represents a class.
    boolean
    Returns true if the symbol represents a field.
    boolean
    Returns true if the symbol represents a method.
  • Method Details

    • getClassName

      String getClassName()
      Returns the name of the type or enclosing type if the symbol is a method or field.
    • getFragmentNumber

      int getFragmentNumber()
      Returns the fragment number in which the symbol is declared (for a method).
    • getJsniIdent

      String getJsniIdent()
      Returns a JSNI-like identifier for the symbol if it a method or field, otherwise null.
    • getMemberName

      String getMemberName()
      Returns the name of the member if the symbol is a method or field.
    • getRuntimeTypeId

      String getRuntimeTypeId()
      Returns the runtime typeId.
    • getSourceLine

      int getSourceLine()
      Returns the line number on which the symbol was originally declared or -1 if the line number is unknown.
    • getSourceUri

      String getSourceUri()
      Returns a URI string representing the location of the source. This method will return null if the symbol was derived from a transient or unknown source.
    • getSymbolName

      String getSymbolName()
      Returns the JavaScript symbol this data maps to.
    • isClass

      boolean isClass()
      Returns true if the symbol represents a class.
    • isField

      boolean isField()
      Returns true if the symbol represents a field.
    • isMethod

      boolean isMethod()
      Returns true if the symbol represents a method.