• Nested Class Summary

  • Method Summary

    arrayType()

    Returns a ClassDesc for an array type whose component type is described by this ClassDesc.

    arrayType(int rank)

    Returns a ClassDesc for an array type of the specified rank, whose component type is described by this ClassDesc.

    Returns the component type of this ClassDesc, if it describes an array type, or null otherwise.

    Returns a field type descriptor string for this type

    Returns a human-readable name for the type described by this descriptor.

    boolean

    Compare the specified object with this descriptor for equality.

    default boolean

    isArray()

    Returns whether this ClassDesc describes an array type.

    default boolean

    Returns whether this ClassDesc describes a class or interface type.

    default boolean

    Returns whether this ClassDesc describes a primitive type.

    Returns a ClassDesc for a nested class of the class or interface type described by this ClassDesc.

    nested(String firstNestedName, String... moreNestedNames)

    Returns a ClassDesc for a nested class of the class or interface type described by this ClassDesc.

    Returns a ClassDesc for a class or interface type, given the name of the class or interface, such as "java.lang.String".

    Returns a ClassDesc for a class or interface type, given a package name and the unqualified (simple) name for the class or interface.

    Returns a ClassDesc given a descriptor string for a class, interface, array, or primitive type.

    Returns a ClassDesc for a class or interface type, given the name of the class or interface in internal form, such as "java/lang/String".

    Returns the package name of this ClassDesc, if it describes a class or interface type.

    Resolves this descriptor reflectively, emulating the resolution behavior of JVMS 5.4.3 and the access control behavior of JVMS 5.4.4.

  • Method Details

    • of

    • ofInternalName

    • of

    • ofDescriptor

    • arrayType

    • arrayType

    • nested

    • nested

    • isArray

    • isPrimitive

    • isClassOrInterface

    • componentType

    • packageName

    • displayName

    • descriptorString

    • resolveConstantDesc

    • equals