Uses of Interface
org.tquadrat.foundation.javacomposer.JavaFile.Builder
Packages that use JavaFile.Builder
Package
Description
JavaComposer is a Java toolkit for the generation of Java source
code.
The implementations for the interfaces from the package
org.tquadrat.foundation.javacomposer
.-
Uses of JavaFile.Builder in org.tquadrat.foundation.javacomposer
Methods in org.tquadrat.foundation.javacomposer that return JavaFile.BuilderModifier and TypeMethodDescriptionJavaFile.Builder.addFileComment
(String format, Object... args) Adds text to the file comment.JavaFile.Builder.addStaticImport
(Class<?> clazz, String... names) Adds a static import.JavaFile.Builder.addStaticImport
(Enum<?> constant) Adds a static import for the givenenum
value.JavaFile.Builder.addStaticImport
(ClassName className, String... names) Adds a static import.final JavaFile.Builder
JavaComposer.javaFileBuilder
(CharSequence packageName, TypeSpec typeSpec) Creates a builder for a new instance ofJavaFile
from the given package name and class definition.JavaFile.Builder.skipJavaLangImports
(boolean flag) JavaFile.toBuilder()
Returns a new builder that is initialised with thisJavaFile
instance. -
Uses of JavaFile.Builder in org.tquadrat.foundation.javacomposer.internal
Classes in org.tquadrat.foundation.javacomposer.internal that implement JavaFile.BuilderModifier and TypeClassDescriptionstatic final class
The builder for an instance ofJavaFileImpl
as an implementation ofJavaFile.Builder
.Methods in org.tquadrat.foundation.javacomposer.internal that return JavaFile.BuilderModifier and TypeMethodDescriptionfinal JavaFile.Builder
JavaFileImpl.toBuilder()
Returns a new builder that is initialised with thisJavaFile
instance.