Data for a Java enum constant, inside EnumData#constants.

interface EnumConstantData {
    deprecation: null | DeprecationContent;
    description: null | NodeContent;
    entityType: "enumConstant";
    id: string;
    name: string;
    ordinal: number;
    signature: string;
    url: string;
}

Hierarchy (View Summary)

Properties

deprecation: null | DeprecationContent

The enum constant's deprecation notice, if any.

description: null | NodeContent

The entity's description, if any.

entityType: "enumConstant"

The entity's type.

id: string

The entity's unique id (relative to others in the same context). Used as key in collections.

Specifically:

  • In classes, enums, interfaces, external objects and annotations: the qualifiedName.
  • In packages, enum constants, fields, method type parameters, object type parameters and parameters: the name.
  • In methods: the prototype, to avoid conflicts with overloaded methods.
name: string

The entity's name.

ordinal: number

The enum constant's ordinal.

signature: string

The entity's signature.

url: string

The enum constant's Javadocs URL.