public interface NodeWithType<T>
Modifier and Type | Method and Description |
---|---|
Type |
getType()
Gets the type
|
default T |
setType(Class<?> typeClass)
Sets this type to this class and try to import it to the
CompilationUnit if needed |
T |
setType(Type type)
Sets the type
|
Type getType()
default T setType(Class<?> typeClass)
CompilationUnit
if neededtypeClass
- the typeCopyright © 2007–2016. All rights reserved.