Uses of Interface
java.lang.classfile.attribute.RecordComponentInfo
Package
Description
Provides interfaces describing classfile attributes for the
java.lang.classfile
PREVIEW library.-
Uses of RecordComponentInfoPREVIEW in java.lang.classfile.attributePREVIEW
Modifier and TypeMethodDescriptionstatic RecordComponentInfoPREVIEW
RecordComponentInfo.of
(Utf8EntryPREVIEW name, Utf8EntryPREVIEW descriptor, AttributePREVIEW<?>... attributes) Returns a record component description.static RecordComponentInfoPREVIEW
RecordComponentInfo.of
(Utf8EntryPREVIEW name, Utf8EntryPREVIEW descriptor, List<AttributePREVIEW<?>> attributes) Returns a record component description.static RecordComponentInfoPREVIEW
Returns a record component description.static RecordComponentInfoPREVIEW
Returns a record component description.Modifier and TypeMethodDescriptionRecordAttribute.components()
Returns the components of this record class.Modifier and TypeMethodDescriptionstatic RecordAttributePREVIEW
RecordAttribute.of
(RecordComponentInfoPREVIEW... components) Returns aRecord
attribute.Modifier and TypeMethodDescriptionstatic RecordAttributePREVIEW
RecordAttribute.of
(List<RecordComponentInfoPREVIEW> components) Returns aRecord
attribute.