Package com.google.turbine.type
Class Type.ErrorTy
- java.lang.Object
-
- com.google.turbine.type.Type.ErrorTy
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.google.turbine.type.Type
Type.ArrayTy, Type.ClassTy, Type.ErrorTy, Type.IntersectionTy, Type.MethodTy, Type.PrimTy, Type.TyKind, Type.TyVar, Type.WildLowerBoundedTy, Type.WildTy, Type.WildUnboundedTy, Type.WildUpperBoundedTy
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Type.ErrorTycreate(java.lang.Iterable<Tree.Ident> names)static Type.ErrorTycreate(java.lang.String name)booleanequals(@Nullable java.lang.Object other)inthashCode()java.lang.Stringname()Best-effort syntactic context for use in diagnostics or by annotation processors.java.lang.StringtoString()Type.TyKindtyKind()The type kind.
-
-
-
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.Iterable<Tree.Ident> names)
-
create
public static Type.ErrorTy create(java.lang.String name)
-
tyKind
public Type.TyKind tyKind()
Description copied from interface:TypeThe type kind.
-
toString
public final java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public final boolean equals(@Nullable java.lang.Object other)
- Overrides:
equalsin classjava.lang.Object
-
-