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.
ClassFile Structure
ClassModel#interfaces(), ClassBuilder#withInterfaces
| Modifier and Type | Method and Description |
|---|---|
| public List | Returns: the interfaces of this class, may be emptyReturns the interfaces of this class, may be empty. |
| public static Interfaces | Returns: an Interfaces elementthe interfaces interfaces)Returns an Interfaces element. |
| public static Interfaces | Returns: an Interfaces elementthe interfaces interfaces)Returns an Interfaces element. |
| public static Interfaces | Returns: an Interfaces elementthe interfaces interfaces)Returns an Interfaces element. |
| public static Interfaces | Returns: an Interfaces elementthe interfaces interfaces)Returns an Interfaces element. |
| interfaces | back to summary |
|---|---|
| public List Returns the interfaces of this class, may be empty.
| |
| of | back to summary |
|---|---|
| public static Interfaces of(List<ClassEntry> interfaces) Returns an Interfaces element.
| |
| of | back to summary |
|---|---|
| public static Interfaces of(ClassEntry... interfaces) Returns an Interfaces element.
| |
| ofSymbols | back to summary |
|---|---|
| public static Interfaces ofSymbols(List<ClassDesc> interfaces) Returns an Interfaces element.
| |
| ofSymbols | back to summary |
|---|---|
| public static Interfaces ofSymbols(ClassDesc... interfaces) Returns an Interfaces element.
| |