Interface Type

    • Method Detail

      • getQualifiedName

        java.lang.String getQualifiedName()
        Returns the qualified name of this type declaration. Nested types use the '.' char as the inner class delimiter.
        Returns:
        the qualified name of this type declaration.
      • isAssignableFrom

        boolean isAssignableFrom​(Type otherType)
        Determines if the type represented by this Type object is either the same as, or is a supertype of, the type represented by the specified Type parameter. It returns true if so; otherwise it returns false. If this Type object represents a primitive type, this method returns true if the specified Type parameter is exactly this Type object; otherwise it returns false.
        Parameters:
        otherType - the Type object to be checked
        Returns:
        the boolean value indicating whether objects of the type cls can be assigned to objects of this type. The method returns false if the given parameter is null.