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 are predefinedClassDesc constants inConstantDescs. (Thejava.lang.constant APIs considervoid to be a primitive type.) To create aClassDesc for a class or interface type, useof(java.lang.String) orofDescriptor(String); to create aClassDesc for an array type, useofDescriptor(String), or first obtain aClassDesc for the component type and then call thearrayType() orarrayType(int) methods.

Since:
12
See Also: