public interface NodeWithImplements<N extends Node>
Modifier and Type | Method and Description |
---|---|
default N |
addImplements(Class<?> clazz)
Add an implements to this and automatically add the import
|
default N |
addImplements(String name)
Add an implements to this
|
NodeList<ClassOrInterfaceType> |
getImplements() |
N |
setImplements(NodeList<ClassOrInterfaceType> implementsList) |
NodeList<ClassOrInterfaceType> getImplements()
N setImplements(NodeList<ClassOrInterfaceType> implementsList)
default N addImplements(String name)
name
- the name of the type to extends fromCopyright © 2007–2016. All rights reserved.