Class TyVarSymbol

  • All Implemented Interfaces:
    Symbol

    @Immutable
    public class TyVarSymbol
    extends java.lang.Object
    implements Symbol
    A type variable symbol.
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface com.google.turbine.binder.sym.Symbol

        Symbol.Kind
    • Constructor Summary

      Constructors 
      Constructor Description
      TyVarSymbol​(Symbol owner, java.lang.String name)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(@Nullable java.lang.Object obj)  
      int hashCode()  
      java.lang.String name()
      The type variable name.
      Symbol owner()
      The class or method that declares this type variable.
      Symbol.Kind symKind()
      The symbol kind.
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • TyVarSymbol

        public TyVarSymbol​(Symbol owner,
                           java.lang.String name)
    • Method Detail

      • name

        public java.lang.String name()
        The type variable name.
      • owner

        public Symbol owner()
        The class or method that declares this type variable.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(@Nullable java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object