Interface TypeMirror

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void accept​(TypeVisitor v)
      Applies a visitor to this type.
      boolean equals​(java.lang.Object obj)
      Tests whether two types represent the same type.
      java.lang.String toString()
      Returns a string representation of this type.
    • Method Detail

      • toString

        java.lang.String toString()
        Returns a string representation of this type. Any names embedded in the expression are qualified.
        Overrides:
        toString in class java.lang.Object
        Returns:
        a string representation of this type
      • equals

        boolean equals​(java.lang.Object obj)
        Tests whether two types represent the same type.
        Overrides:
        equals in class java.lang.Object
        Parameters:
        obj - the object to be compared with this type
        Returns:
        true if the specified object represents the same type as this.
      • accept

        void accept​(TypeVisitor v)
        Applies a visitor to this type.
        Parameters:
        v - the visitor operating on this type