Skip navigation links
me.tomassetti.symbolsolver.model.usages.typesystem

Interface Type

    • Method Detail

      • isArray

        default boolean isArray()
        Does this type represent an array?
      • arrayLevel

        default int arrayLevel()
      • isPrimitive

        default boolean isPrimitive()
        Is this a primitive type?
      • isNull

        default boolean isNull()
        Is this the null type?
      • isReference

        default boolean isReference()
        Is this a non primitive value?
      • isReferenceType

        default boolean isReferenceType()
        Can this be seen as a ReferenceTypeUsage? In other words: is this a reference to a class, an interface or an enum?
      • isVoid

        default boolean isVoid()
      • isTypeVariable

        default boolean isTypeVariable()
      • isWildcard

        default boolean isWildcard()
      • asArrayType

        default ArrayType asArrayType()
      • asWildcard

        default Wildcard asWildcard()
      • isAssignableBy

        boolean isAssignableBy(Type other)
        This method checks if ThisType t = new OtherType() would compile.

Copyright © 2016. All rights reserved.