Interface ASTType

    • Method Detail

      • getTypeImage

        @Deprecated
        default String getTypeImage()
        Deprecated.
        This is not meaningful. Use PrettyPrintingUtil
        For now this returns the name of the type with all the segments, without annotations, array dimensions, or type parameters. Experimental because we need to specify it, eg it would be more useful to have a method return a qualified name with help of the symbol table.
      • getArrayDepth

        @Deprecated
        default int getArrayDepth()
        Deprecated.
        Returns the number of array dimensions of this type. This is 0 unless this node isArrayType().
      • isVoid

        default boolean isVoid()
        Returns true if this is the "void" pseudo-type, ie an ASTVoidType.
      • isPrimitiveType

        @Deprecated
        default boolean isPrimitiveType()
        Deprecated.
      • isArrayType

        @Deprecated
        default boolean isArrayType()
        Deprecated.
      • isClassOrInterfaceType

        @Deprecated
        default boolean isClassOrInterfaceType()
        Deprecated.