public class LabeledType_c extends polyglot.types.Type_c implements LabeledType
LabeledType
interface.Modifier and Type | Field and Description |
---|---|
protected Label |
labelPart |
protected polyglot.types.Type |
typePart |
Constructor and Description |
---|
LabeledType_c(JifTypeSystem ts,
polyglot.util.Position pos,
polyglot.types.Type typePart,
Label labelPart) |
Modifier and Type | Method and Description |
---|---|
boolean |
equalsImpl(polyglot.types.TypeObject t) |
boolean |
isArray() |
boolean |
isBoolean() |
boolean |
isByte() |
boolean |
isCanonical() |
boolean |
isChar() |
boolean |
isClass() |
boolean |
isDouble() |
boolean |
isFloat() |
boolean |
isInt() |
boolean |
isIntOrLess() |
boolean |
isLong() |
boolean |
isLongOrLess() |
boolean |
isNull() |
boolean |
isNumeric() |
boolean |
isPrimitive() |
boolean |
isReference() |
boolean |
isShort() |
boolean |
isThrowable() |
boolean |
isUncheckedException() |
boolean |
isVoid() |
Label |
labelPart() |
LabeledType |
labelPart(Label labelPart) |
polyglot.types.ArrayType |
toArray() |
polyglot.types.ClassType |
toClass() |
polyglot.types.NullType |
toNull() |
polyglot.types.PrimitiveType |
toPrimitive() |
polyglot.types.ReferenceType |
toReference() |
java.lang.String |
toString() |
java.lang.String |
translate(polyglot.types.Resolver c) |
polyglot.types.Type |
typePart() |
LabeledType |
typePart(polyglot.types.Type typePart) |
arrayOf, arrayOf, descendsFrom, descendsFromImpl, isCastValid, isCastValidImpl, isComparable, isImplicitCastValid, isImplicitCastValidImpl, isPackage, isSubtype, isSubtypeImpl, isType, numericConversionValid, numericConversionValid, numericConversionValidImpl, numericConversionValidImpl, print, toPackage, toType, typeEquals, typeEqualsImpl
copy, equals, hashCode, position, typeSystem
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
arrayOf, arrayOf, descendsFrom, descendsFromImpl, isCastValid, isCastValidImpl, isComparable, isImplicitCastValid, isImplicitCastValidImpl, isSubtype, isSubtypeImpl, numericConversionValid, numericConversionValid, numericConversionValidImpl, numericConversionValidImpl, print, typeEquals, typeEqualsImpl
protected polyglot.types.Type typePart
protected Label labelPart
public LabeledType_c(JifTypeSystem ts, polyglot.util.Position pos, polyglot.types.Type typePart, Label labelPart)
public boolean isCanonical()
isCanonical
in interface polyglot.types.TypeObject
isCanonical
in class polyglot.types.Type_c
public polyglot.types.Type typePart()
typePart
in interface LabeledType
public LabeledType typePart(polyglot.types.Type typePart)
typePart
in interface LabeledType
public Label labelPart()
labelPart
in interface LabeledType
public LabeledType labelPart(Label labelPart)
labelPart
in interface LabeledType
public java.lang.String toString()
toString
in interface polyglot.types.Type
toString
in class polyglot.types.Type_c
public java.lang.String translate(polyglot.types.Resolver c)
translate
in interface polyglot.types.Type
translate
in class polyglot.types.Type_c
public boolean equalsImpl(polyglot.types.TypeObject t)
equalsImpl
in interface polyglot.types.TypeObject
equalsImpl
in class polyglot.types.TypeObject_c
public polyglot.types.ClassType toClass()
toClass
in interface polyglot.types.Type
toClass
in class polyglot.types.Type_c
public polyglot.types.NullType toNull()
toNull
in interface polyglot.types.Type
toNull
in class polyglot.types.Type_c
public polyglot.types.ReferenceType toReference()
toReference
in interface polyglot.types.Type
toReference
in class polyglot.types.Type_c
public polyglot.types.PrimitiveType toPrimitive()
toPrimitive
in interface polyglot.types.Type
toPrimitive
in class polyglot.types.Type_c
public polyglot.types.ArrayType toArray()
toArray
in interface polyglot.types.Type
toArray
in class polyglot.types.Type_c
public boolean isPrimitive()
isPrimitive
in interface polyglot.types.Type
isPrimitive
in class polyglot.types.Type_c
public boolean isVoid()
isVoid
in interface polyglot.types.Type
isVoid
in class polyglot.types.Type_c
public boolean isBoolean()
isBoolean
in interface polyglot.types.Type
isBoolean
in class polyglot.types.Type_c
public boolean isChar()
isChar
in interface polyglot.types.Type
isChar
in class polyglot.types.Type_c
public boolean isByte()
isByte
in interface polyglot.types.Type
isByte
in class polyglot.types.Type_c
public boolean isShort()
isShort
in interface polyglot.types.Type
isShort
in class polyglot.types.Type_c
public boolean isInt()
isInt
in interface polyglot.types.Type
isInt
in class polyglot.types.Type_c
public boolean isLong()
isLong
in interface polyglot.types.Type
isLong
in class polyglot.types.Type_c
public boolean isFloat()
isFloat
in interface polyglot.types.Type
isFloat
in class polyglot.types.Type_c
public boolean isDouble()
isDouble
in interface polyglot.types.Type
isDouble
in class polyglot.types.Type_c
public boolean isIntOrLess()
isIntOrLess
in interface polyglot.types.Type
isIntOrLess
in class polyglot.types.Type_c
public boolean isLongOrLess()
isLongOrLess
in interface polyglot.types.Type
isLongOrLess
in class polyglot.types.Type_c
public boolean isNumeric()
isNumeric
in interface polyglot.types.Type
isNumeric
in class polyglot.types.Type_c
public boolean isReference()
isReference
in interface polyglot.types.Type
isReference
in class polyglot.types.Type_c
public boolean isNull()
isNull
in interface polyglot.types.Type
isNull
in class polyglot.types.Type_c
public boolean isArray()
isArray
in interface polyglot.types.Type
isArray
in class polyglot.types.Type_c
public boolean isClass()
isClass
in interface polyglot.types.Type
isClass
in class polyglot.types.Type_c
public boolean isThrowable()
isThrowable
in interface polyglot.types.Type
isThrowable
in class polyglot.types.Type_c
public boolean isUncheckedException()
isUncheckedException
in interface polyglot.types.Type
isUncheckedException
in class polyglot.types.Type_c