APIdia Launch Partner
Top Fields Constructors Methods
jdk.internal.classfile.impl

public final Class InterfacesImpl

extends AbstractElement
implements Interfaces
Class Inheritance
All Implemented Interfaces
java.lang.classfile.Interfaces, java.lang.classfile.ClassElement, java.lang.classfile.ClassFileElement
Imports
java.lang.classfile.Interfaces, java.lang.classfile.constantpool.ClassEntry, java.util.List, java.util.stream.Collectors

Field Summary

Modifier and TypeField and Description
private final List<ClassEntry>

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public List<ClassEntry>
interfaces()

Implements java.lang.classfile.Interfaces.interfaces.

Returns the interfaces of this class, may be empty.

public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.

public void
Inherited from jdk.internal.classfile.impl.AbstractElement:
writeTowriteTowriteTo

Field Detail

interfacesback to summary
private final List<ClassEntry> interfaces

Constructor Detail

InterfacesImplback to summary
public InterfacesImpl(List<ClassEntry> interfaces)

Method Detail

interfacesback to summary
public List<ClassEntry> interfaces()

Implements java.lang.classfile.Interfaces.interfaces.

Doc from java.lang.classfile.Interfaces.interfaces.

Returns the interfaces of this class, may be empty.

Annotations
@Override
toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object. Satisfying this method's contract implies a non-null result must be returned.

Annotations
@Override
writeToback to summary
public void writeTo(DirectClassBuilder builder)

Overrides jdk.internal.classfile.impl.AbstractElement.writeTo.

Annotations
@Override