Uses of Class
io.spring.initializr.generator.language.ClassName
Packages that use ClassName
Package
Description
Language abstraction.
Kotlin language.
-
Uses of ClassName in io.spring.initializr.generator.language
Methods in io.spring.initializr.generator.language that return ClassNameModifier and TypeMethodDescriptionAnnotation.getClassName()Return theClassNameof the annotation.ClassName.getEnclosingType()Return the enclosing class name, ornullif this instance does not have an enclosing type.static ClassNamestatic ClassNameCreate aClassNamebased on the specified fully qualified name.Methods in io.spring.initializr.generator.language with parameters of type ClassNameModifier and TypeMethodDescriptionvoidAdd a singleAnnotationwith the specified class name.voidAnnotationContainer.add(ClassName className, Consumer<Annotation.Builder> annotation) Add a singleAnnotationwith the specified class name andConsumerto customize it.Annotate the parameter with the specified annotation.Parameter.Builder.annotate(ClassName className, Consumer<Annotation.Builder> annotation) Annotate the parameter with the specified annotation, customized by the specified consumer.CodeBlock.FormattingOptions.classReference(ClassName className) Return the code that represents a reference to the specifiedClassName.booleanSpecify if this container has a an annotation with the specifiedClassName.static Annotation.BuilderInitialize an annotationAnnotation.Builderfor the specified class name.static ParameterCreate a parameter with the specified name andtype.booleanRemove the annotation with the specifiedClassName.Specify thetypeof the parameter. -
Uses of ClassName in io.spring.initializr.generator.language.kotlin
Methods in io.spring.initializr.generator.language.kotlin with parameters of type ClassNameModifier and TypeMethodDescriptionKotlinPropertyDeclaration.AccessorBuilder.withAnnotation(ClassName className) KotlinPropertyDeclaration.AccessorBuilder.withAnnotation(ClassName className, Consumer<Annotation.Builder> annotation)