Interface LoadableDescriptorsAttribute
- All Superinterfaces:
AttributePREVIEW<LoadableDescriptorsAttributePREVIEW>,ClassElementPREVIEW,ClassFileElementPREVIEW,WritableElementPREVIEW<LoadableDescriptorsAttributePREVIEW>
public sealed interface LoadableDescriptorsAttribute
extends AttributePREVIEW<LoadableDescriptorsAttributePREVIEW>, ClassElementPREVIEW
LoadableDescriptorsAttribute is a preview API of the Java platform.
Preview features may be removed in a future release, or upgraded to permanent features of the Java platform.
This is NOT part of any supported API. If you write code that depends on this, you do so at your own risk. This code and its internal interfaces are subject to change or deletion without notice.
-
Method Summary
Modifier and TypeMethodDescriptionReturns the list of loadable descriptors.Returns aLoadableDescriptorsattribute.Returns aLoadableDescriptorsattribute.Methods declared in interface java.lang.classfile.AttributePREVIEW
attributeMapper, attributeNameMethods declared in interface java.lang.classfile.WritableElementPREVIEW
writeTo
-
Method Details
-
loadableDescriptors
-
of
Returns aLoadableDescriptorsattribute.- Parameters:
loadableDescriptors- the loadable descriptors- Returns:
- a
LoadableDescriptorsattribute
-
of
Returns aLoadableDescriptorsattribute.- Parameters:
loadableDescriptors- the loadable descriptors- Returns:
- a
LoadableDescriptorsattribute
-
LoadableDescriptorsAttributewhen preview features are enabled.