Interface ClassDesc

All Superinterfaces:
ConstantDesc,TypeDescriptor,TypeDescriptor.OfField<ClassDesc>

public sealed interfaceClassDescextendsConstantDesc,TypeDescriptor.OfField<ClassDesc>
Anominal descriptor for aClass constant.

For common system types, including all the primitive types, there arepredefinedClassDesc constants inConstantDescs.(Thejava.lang.constant APIs considervoid to be a primitive type.)To create aClassDesc for a class or interface type, useof(String) orofDescriptor(String); to create aClassDesc for an arraytype, useofDescriptor(String), or first obtain aClassDesc for the component type and then call thearrayType()orarrayType(int) methods.

Since:
12
See Also: