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 aLoadableDescriptors
attribute.Returns aLoadableDescriptors
attribute.Methods declared in interface java.lang.classfile.AttributePREVIEW
attributeMapper, attributeName
Methods declared in interface java.lang.classfile.WritableElementPREVIEW
writeTo
-
Method Details
-
loadableDescriptors
-
of
Returns aLoadableDescriptors
attribute.- Parameters:
loadableDescriptors
- the loadable descriptors- Returns:
- a
LoadableDescriptors
attribute
-
of
Returns aLoadableDescriptors
attribute.- Parameters:
loadableDescriptors
- the loadable descriptors- Returns:
- a
LoadableDescriptors
attribute
-
LoadableDescriptorsAttribute
when preview features are enabled.