Class Type.ErrorTy

  • All Implemented Interfaces:
    Type
    Enclosing interface:
    Type

    public static final class Type.ErrorTy
    extends java.lang.Object
    implements Type
    An error type.
    • Method Detail

      • name

        public java.lang.String name()
        Best-effort syntactic context for use in diagnostics or by annotation processors. This may be a simple or qualified name; it is not a canonical qualified name.
      • create

        public static Type.ErrorTy create​(java.lang.String name)
      • tyKind

        public Type.TyKind tyKind()
        Description copied from interface: Type
        The type kind.
        Specified by:
        tyKind in interface Type
      • toString

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

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

        public final boolean equals​(@Nullable java.lang.Object other)
        Overrides:
        equals in class java.lang.Object