Interface Interfaces

All Superinterfaces:
ClassElement, ClassFileElement

public sealed interface Interfaces extends ClassElement
Models the interfaces (JVMS 4.1) of a class. An Interfaces appears at most once in a ClassModel: if it does not appear, the class has no interfaces, which is equivalent to an Interfaces whose interfaces() returns an empty list. A ClassBuilder sets the interfaces to an empty list if the interfaces is not supplied.
See Java Virtual Machine Specification:
4.1 The ClassFile Structure
Since:
24
See Also: