Class TypeDeclaration
java.lang.Object
io.spring.initializr.generator.language.TypeDeclaration
- All Implemented Interfaces:
Annotatable
- Direct Known Subclasses:
GroovyTypeDeclaration
,JavaTypeDeclaration
,KotlinTypeDeclaration
A type declared in a
CompilationUnit
.- Author:
- Andy Wilkinson
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturn theAnnotationContainer
to use to configure the annotations of this element.void
getName()
-
Constructor Details
-
TypeDeclaration
-
-
Method Details
-
extend
-
annotations
Description copied from interface:Annotatable
Return theAnnotationContainer
to use to configure the annotations of this element.- Specified by:
annotations
in interfaceAnnotatable
- Returns:
- the annotation container
-
getName
-
getExtends
-