< prev index next > src/java.base/share/classes/jdk/internal/classfile/impl/UnboundAttribute.java
Print this page
public List<ClassEntry> permittedSubclasses() {
return permittedSubclasses;
}
}
+ public static final class UnboundLoadableDescriptorsAttribute
+ extends UnboundAttribute<LoadableDescriptorsAttribute>
+ implements LoadableDescriptorsAttribute {
+ private final List<Utf8Entry> loadableDescriptors;
+
+ public UnboundLoadableDescriptorsAttribute(List<Utf8Entry> loadableDescriptors) {
+ super(Attributes.loadableDescriptors());
+ this.loadableDescriptors = List.copyOf(loadableDescriptors);
+ }
+
+ @Override
+ public List<Utf8Entry> loadableDescriptors() {
+ return loadableDescriptors;
+ }
+ }
+
public static final class UnboundNestMembersAttribute
extends UnboundAttribute<NestMembersAttribute>
implements NestMembersAttribute {
private final List<ClassEntry> memberEntries;
< prev index next >