- All Superinterfaces:
ClassElement,ClassFileElement
- All Known Implementing Classes:
InterfacesImpl
Models the interfaces of a class. Delivered as a
ClassElement when traversing a ClassModel.- Since:
- 22
-
Method Summary
Modifier and TypeMethodDescriptionReturns the interfaces of this class.static Interfacesof(List<ClassEntry> interfaces) Returns an Interfaces element.static Interfacesof(ClassEntry... interfaces) Returns an Interfaces element.static InterfacesReturns an Interfaces element.static InterfacesReturns an Interfaces element.
-
Method Details
-
interfaces
List<ClassEntry> interfaces()Returns the interfaces of this class.- Returns:
- the interfaces of this class
-
of
Returns an Interfaces element.- Parameters:
interfaces- the interfaces- Returns:
- an Interfaces element
-
of
Returns an Interfaces element.- Parameters:
interfaces- the interfaces- Returns:
- an Interfaces element
-
ofSymbols
Returns an Interfaces element.- Parameters:
interfaces- the interfaces- Returns:
- an Interfaces element
-
ofSymbols
Returns an Interfaces element.- Parameters:
interfaces- the interfaces- Returns:
- an Interfaces element
-