Class TypeData

    • Constructor Detail

      • TypeData

        public TypeData​(TypeSystemData typeSystem,
                        int index,
                        javax.lang.model.element.AnnotationValue value,
                        javax.lang.model.type.TypeMirror primitiveType,
                        javax.lang.model.type.TypeMirror boxedType)
    • Method Detail

      • getIndex

        public int getIndex()
      • addTypeCast

        public void addTypeCast​(TypeCastData typeCast)
      • addTypeCheck

        public void addTypeCheck​(TypeCheckData typeCheck)
      • getTypeCasts

        public java.util.List<TypeCastData> getTypeCasts()
      • getTypeChecks

        public java.util.List<TypeCheckData> getTypeChecks()
      • getPrimitiveType

        public javax.lang.model.type.TypeMirror getPrimitiveType()
      • getBoxedType

        public javax.lang.model.type.TypeMirror getBoxedType()
      • isGeneric

        public boolean isGeneric()
      • isVoid

        public boolean isVoid()
      • compareTo

        public int compareTo​(TypeData o)
        Specified by:
        compareTo in interface java.lang.Comparable<TypeData>
      • hashCode

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

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • toString

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

        public boolean equalsType​(TypeData actualTypeData)
      • needsCastTo

        public boolean needsCastTo​(TypeData targetType)
      • needsCastTo

        public boolean needsCastTo​(javax.lang.model.type.TypeMirror targetType)
      • isPrimitive

        public boolean isPrimitive()
      • isImplicitSubtypeOf

        public boolean isImplicitSubtypeOf​(TypeData other)
      • isSubtypeOf

        public boolean isSubtypeOf​(TypeData other)