Interface NodeWithImplements<N extends Node>
- All Known Implementing Classes:
ClassOrInterfaceDeclaration, EnumDeclaration, RecordDeclaration
public interface NodeWithImplements<N extends Node>
A node that implements other types.
-
Method Summary
Modifier and TypeMethodDescriptiondefault NaddImplementedType(ClassOrInterfaceType implement) default NaddImplementedType(Class<?> clazz) Add an implements to this and automatically add the importdefault NaddImplementedType(String name) Add an implements to thisdefault NaddImplements(Class<?> clazz) Deprecated.use addImplementedType insteaddefault NaddImplements(String name) Deprecated.use addImplementedType insteaddefault ClassOrInterfaceTypegetImplementedTypes(int i) default NsetImplementedType(int i, ClassOrInterfaceType implement) setImplementedTypes(NodeList<ClassOrInterfaceType> implementsList) voidtryAddImportToParentCompilationUnit(Class<?> clazz)
-
Method Details
-
getImplementedTypes
NodeList<ClassOrInterfaceType> getImplementedTypes() -
getImplementedTypes
-
setImplementedTypes
-
tryAddImportToParentCompilationUnit
-
setImplementedType
-
addImplementedType
-
addImplements
-
addImplements
-
addImplementedType
-
addImplementedType
-