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 theAnnotationContainerto use to configure the annotations of this element.voidgetName()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.spring.initializr.generator.language.Annotatable
annotate, getAnnotations
-
Constructor Details
-
TypeDeclaration
-
-
Method Details
-
extend
-
annotations
Description copied from interface:AnnotatableReturn theAnnotationContainerto use to configure the annotations of this element.- Specified by:
annotationsin interfaceAnnotatable- Returns:
- the annotation container
-
getName
-
getExtends
-