Class JLabelSymbol

    • Method Detail

      • owner

        public Symbol owner()
        Description copied from interface: Symbol
        The owner of this symbol.
        Specified by:
        owner in interface Symbol
        Returns:
        the symbol that owns this symbol, null for package symbols, or unknown symbols
      • type

        public Type type()
        Description copied from interface: Symbol
        Type of symbol.
        Specified by:
        type in interface Symbol
        Returns:
        the type of this symbol.
      • isUnknown

        public boolean isUnknown()
        Specified by:
        isUnknown in interface Symbol
      • enclosingClass

        @Nullable
        public Symbol.TypeSymbol enclosingClass()
        Description copied from interface: Symbol
        The closest enclosing class.
        Specified by:
        enclosingClass in interface Symbol
        Returns:
        null for package symbols, themselves for type symbol and enclosing class of methods or variables.