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, typeEqualsImplcopy, equals, hashCode, position, typeSystemclone, finalize, getClass, notify, notifyAll, wait, wait, waitarrayOf, arrayOf, descendsFrom, descendsFromImpl, isCastValid, isCastValidImpl, isComparable, isImplicitCastValid, isImplicitCastValidImpl, isSubtype, isSubtypeImpl, numericConversionValid, numericConversionValid, numericConversionValidImpl, numericConversionValidImpl, print, typeEquals, typeEqualsImplprotected 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.TypeObjectisCanonical in class polyglot.types.Type_cpublic polyglot.types.Type typePart()
typePart in interface LabeledTypepublic LabeledType typePart(polyglot.types.Type typePart)
typePart in interface LabeledTypepublic Label labelPart()
labelPart in interface LabeledTypepublic LabeledType labelPart(Label labelPart)
labelPart in interface LabeledTypepublic java.lang.String toString()
toString in interface polyglot.types.TypetoString in class polyglot.types.Type_cpublic java.lang.String translate(polyglot.types.Resolver c)
translate in interface polyglot.types.Typetranslate in class polyglot.types.Type_cpublic boolean equalsImpl(polyglot.types.TypeObject t)
equalsImpl in interface polyglot.types.TypeObjectequalsImpl in class polyglot.types.TypeObject_cpublic polyglot.types.ClassType toClass()
toClass in interface polyglot.types.TypetoClass in class polyglot.types.Type_cpublic polyglot.types.NullType toNull()
toNull in interface polyglot.types.TypetoNull in class polyglot.types.Type_cpublic polyglot.types.ReferenceType toReference()
toReference in interface polyglot.types.TypetoReference in class polyglot.types.Type_cpublic polyglot.types.PrimitiveType toPrimitive()
toPrimitive in interface polyglot.types.TypetoPrimitive in class polyglot.types.Type_cpublic polyglot.types.ArrayType toArray()
toArray in interface polyglot.types.TypetoArray in class polyglot.types.Type_cpublic boolean isPrimitive()
isPrimitive in interface polyglot.types.TypeisPrimitive in class polyglot.types.Type_cpublic boolean isVoid()
isVoid in interface polyglot.types.TypeisVoid in class polyglot.types.Type_cpublic boolean isBoolean()
isBoolean in interface polyglot.types.TypeisBoolean in class polyglot.types.Type_cpublic boolean isChar()
isChar in interface polyglot.types.TypeisChar in class polyglot.types.Type_cpublic boolean isByte()
isByte in interface polyglot.types.TypeisByte in class polyglot.types.Type_cpublic boolean isShort()
isShort in interface polyglot.types.TypeisShort in class polyglot.types.Type_cpublic boolean isInt()
isInt in interface polyglot.types.TypeisInt in class polyglot.types.Type_cpublic boolean isLong()
isLong in interface polyglot.types.TypeisLong in class polyglot.types.Type_cpublic boolean isFloat()
isFloat in interface polyglot.types.TypeisFloat in class polyglot.types.Type_cpublic boolean isDouble()
isDouble in interface polyglot.types.TypeisDouble in class polyglot.types.Type_cpublic boolean isIntOrLess()
isIntOrLess in interface polyglot.types.TypeisIntOrLess in class polyglot.types.Type_cpublic boolean isLongOrLess()
isLongOrLess in interface polyglot.types.TypeisLongOrLess in class polyglot.types.Type_cpublic boolean isNumeric()
isNumeric in interface polyglot.types.TypeisNumeric in class polyglot.types.Type_cpublic boolean isReference()
isReference in interface polyglot.types.TypeisReference in class polyglot.types.Type_cpublic boolean isNull()
isNull in interface polyglot.types.TypeisNull in class polyglot.types.Type_cpublic boolean isArray()
isArray in interface polyglot.types.TypeisArray in class polyglot.types.Type_cpublic boolean isClass()
isClass in interface polyglot.types.TypeisClass in class polyglot.types.Type_cpublic boolean isThrowable()
isThrowable in interface polyglot.types.TypeisThrowable in class polyglot.types.Type_cpublic boolean isUncheckedException()
isUncheckedException in interface polyglot.types.TypeisUncheckedException in class polyglot.types.Type_c