Index

$ A B C D E F G H I J K L M N O P R S T U V W Z 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

C

canonicalName() - Method in interface org.tquadrat.foundation.javacomposer.ClassName
Returns the canonical form of the class name.
canonicalName() - Method in class org.tquadrat.foundation.javacomposer.internal.ClassNameImpl
Returns the canonical form of the class name.
CASES_OMITTED - Enum constant in enum class org.tquadrat.foundation.javacomposer.SuppressableWarnings
Some possible cases in a switch statement have been omitted purposely.
CAST - Enum constant in enum class org.tquadrat.foundation.javacomposer.SuppressableWarnings
An unnecessary cast is used.
CAST_TO_CONCRETE_CLASS - Enum constant in enum class org.tquadrat.foundation.javacomposer.SuppressableWarnings
An object is cast to a concrete class, instead to one of the interfaces implemented by that class.
CHAR - Static variable in class org.tquadrat.foundation.javacomposer.Primitives
The type name for char.
CHAR_PRIMITIVE - Static variable in class org.tquadrat.foundation.javacomposer.internal.TypeNameImpl
The type name for char.
characterLiteralWithoutSingleQuotes(char) - Static method in class org.tquadrat.foundation.javacomposer.internal.Util
Translates the given character into a String; when that character is a special character, it will be escaped properly so that it can be used in a Java String literal.
CLASS - Enum constant in enum class org.tquadrat.foundation.javacomposer.internal.TypeSpecImpl.Kind
The type is a regular class.
CLASS_REFERENCES_SUBCLASS - Enum constant in enum class org.tquadrat.foundation.javacomposer.SuppressableWarnings
A class or interface references one of its own subclasses/implementations.
CLASS_WITH_TOO_MANY_FIELDS - Enum constant in enum class org.tquadrat.foundation.javacomposer.SuppressableWarnings
The current class has too many fields according to the configured metric value.
CLASS_WITH_TOO_MANY_METHODS - Enum constant in enum class org.tquadrat.foundation.javacomposer.SuppressableWarnings
The current class or interface has too many methods according to the configured metric value.
classBuilder(CharSequence) - Method in class org.tquadrat.foundation.javacomposer.JavaComposer
Creates a builder for a regular class.
classBuilder(ClassName) - Method in class org.tquadrat.foundation.javacomposer.JavaComposer
Creates a builder for a regular class.
ClassName - Interface in org.tquadrat.foundation.javacomposer
The specification for a fully-qualified class name for top-level and member classes.
ClassNameImpl - Class in org.tquadrat.foundation.javacomposer.internal
The implementation of ClassName for a fully-qualified class name for top-level and member classes.
ClassNameImpl(CharSequence, Optional<ClassNameImpl>, CharSequence) - Constructor for class org.tquadrat.foundation.javacomposer.internal.ClassNameImpl
Creates a new ClassNameImpl instance.
ClassNameImpl(CharSequence, Optional<ClassNameImpl>, CharSequence, List<AnnotationSpecImpl>) - Constructor for class org.tquadrat.foundation.javacomposer.internal.ClassNameImpl
Creates a new ClassNameImpl instance.
ClassNameImpl(CharSequence, ClassNameImpl, CharSequence) - Constructor for class org.tquadrat.foundation.javacomposer.internal.ClassNameImpl
Creates a new ClassNameImpl instance.
ClassNameImpl(CharSequence, ClassNameImpl, CharSequence, List<AnnotationSpecImpl>) - Constructor for class org.tquadrat.foundation.javacomposer.internal.ClassNameImpl
Creates a new ClassNameImpl instance.
ClassSpecImpl - Class in org.tquadrat.foundation.javacomposer.internal
The implementation of TypeSpec for a class.
ClassSpecImpl(ClassSpecImpl) - Constructor for class org.tquadrat.foundation.javacomposer.internal.ClassSpecImpl
Creates a dummy type spec for type-resolution in CodeWriter only while emitting the type declaration but before entering the type body.
ClassSpecImpl(ClassSpecImpl.BuilderImpl) - Constructor for class org.tquadrat.foundation.javacomposer.internal.ClassSpecImpl
Creates a new TypeClassSpecImpl instance.
ClassSpecImpl.BuilderImpl - Class in org.tquadrat.foundation.javacomposer.internal
The implementation of TypeSpec.Builder for a class.
clone() - Method in class org.tquadrat.foundation.javacomposer.NameAllocator
Creates a deep copy of this NameAllocator.
close() - Method in class org.tquadrat.foundation.javacomposer.internal.LineWrapper
This implementation flushes any outstanding text and forbid future writes to this line wrapper.
code() - Method in class org.tquadrat.foundation.javacomposer.internal.LambdaSpecImpl.BuilderImpl
Returns the code for the lambda body.
CodeBlock - Interface in org.tquadrat.foundation.javacomposer
The definition of a fragment for a *.java file, potentially containing declarations, statements, and documentation.
CodeBlock.Builder - Interface in org.tquadrat.foundation.javacomposer
The definition of a builder for a new instance of an implementation of CodeBlock.
codeBlockBuilder() - Method in class org.tquadrat.foundation.javacomposer.JavaComposer
Creates a builder for an instance of CodeBlock.
Code block format strings - Search tag in package org.tquadrat.foundation.javacomposer
Section
CodeBlockImpl - Class in org.tquadrat.foundation.javacomposer.internal
The implementation of CodeBlock for a fragment of a *.java file.
CodeBlockImpl(CodeBlockImpl.BuilderImpl) - Constructor for class org.tquadrat.foundation.javacomposer.internal.CodeBlockImpl
Creates a new CodeBlockImpl instance.
CodeBlockImpl.BuilderImpl - Class in org.tquadrat.foundation.javacomposer.internal
The implementation of CodeBlock.Builder as the builder for a new CodeBlockImpl instance.
CodeBlockImpl.CodeBlockJoiner - Class in org.tquadrat.foundation.javacomposer.internal
A helper class that supports to join code blocks.
CodeBlockJoiner(String, CodeBlockImpl.BuilderImpl) - Constructor for class org.tquadrat.foundation.javacomposer.internal.CodeBlockImpl.CodeBlockJoiner
Creates a new CodeBlockJoiner instance.
codeBlockOf(String, Object...) - Method in class org.tquadrat.foundation.javacomposer.JavaComposer
Creates a new CodeBlock instance from the given format and arguments.
Code Control Flow - Search tag in package org.tquadrat.foundation.javacomposer
Section
CodeProcessorPREVIEW - Interface in org.tquadrat.foundation.javacomposer
An implementation of StringTemplate.ProcessorPREVIEW that creates an instance of CodeBlock from the given String template.
CodeProcessorImpl - Class in org.tquadrat.foundation.javacomposer.internal
An implementation of CodeProcessorPREVIEW that creates an instance of CodeBlock from the given String template.
CodeProcessorImpl(JavaComposer) - Constructor for class org.tquadrat.foundation.javacomposer.internal.CodeProcessorImpl
Creates a new instance of CodeProcessor.
CodeWriter - Class in org.tquadrat.foundation.javacomposer.internal
Converts a JavaFile to a string suitable to both human- and javac-consumption.
CodeWriter(Appendable) - Constructor for class org.tquadrat.foundation.javacomposer.internal.CodeWriter
Deprecated, for removal: This API element is subject to removal in a future version.
CodeWriter(Appendable, Layout, String, Map<String, ClassNameImpl>, Set<String>) - Constructor for class org.tquadrat.foundation.javacomposer.internal.CodeWriter
Deprecated, for removal: This API element is subject to removal in a future version.
CodeWriter(Appendable, Layout, Set<String>) - Constructor for class org.tquadrat.foundation.javacomposer.internal.CodeWriter
Deprecated, for removal: This API element is subject to removal in a future version.
CodeWriter(JavaComposer, Appendable) - Constructor for class org.tquadrat.foundation.javacomposer.internal.CodeWriter
Creates a new CodeWriter instance.
CodeWriter(JavaComposer, Appendable, Map<String, ClassNameImpl>, Set<String>) - Constructor for class org.tquadrat.foundation.javacomposer.internal.CodeWriter
Creates a new CodeWriter instance.
CodeWriter(JavaComposer, Appendable, Set<String>) - Constructor for class org.tquadrat.foundation.javacomposer.internal.CodeWriter
Creates a new CodeWriter instance.
CodeWriter.CommentType - Enum Class in org.tquadrat.foundation.javacomposer.internal
The comment types.
COLLECTION_DECLARED_AS_CONCRETE_CLASS - Enum constant in enum class org.tquadrat.foundation.javacomposer.SuppressableWarnings
A field or parameter is declared with a concrete collection class (like HashSet) instead of the respective Interface (Set in this case).
CommentType() - Constructor for enum class org.tquadrat.foundation.javacomposer.internal.CodeWriter.CommentType
 
compareMethodSpecs(MethodSpec, MethodSpec) - Static method in class org.tquadrat.foundation.javacomposer.internal.TypeSpecImpl
Compares two instances of MethodSpec for their sort order.
compareTo(ClassName) - Method in interface org.tquadrat.foundation.javacomposer.ClassName
compareTo(ClassName) - Method in class org.tquadrat.foundation.javacomposer.internal.ClassNameImpl
componentType() - Method in interface org.tquadrat.foundation.javacomposer.ArrayTypeName
Returns this array's component type.
componentType() - Method in class org.tquadrat.foundation.javacomposer.internal.ArrayTypeNameImpl
Returns this array's component type.
composer() - Method in class org.tquadrat.foundation.javacomposer.internal.TypeSpecImpl.BuilderImpl
Returns the reference to the factory.
concatAnnotations(Collection<AnnotationSpec>) - Method in class org.tquadrat.foundation.javacomposer.internal.TypeNameImpl
Combines the annotations of this instance with the given ones.
CONSTRUCTOR - Static variable in interface org.tquadrat.foundation.javacomposer.MethodSpec
The "name" for a method that is in fact a constructor: "<init>".
constructorBuilder() - Method in class org.tquadrat.foundation.javacomposer.JavaComposer
Creates a builder that builds an instance of MethodSpec for a constructor.
Constructors - Search tag in package org.tquadrat.foundation.javacomposer
Section
createAnnotation(Annotation) - Method in class org.tquadrat.foundation.javacomposer.JavaComposer
Creates an instance of AnnotationSpec from the given Annotation instance.
createAnnotation(Annotation, boolean) - Method in class org.tquadrat.foundation.javacomposer.JavaComposer
Creates an instance of AnnotationSpec from the given Annotation instance.
createAnnotation(AnnotationMirror) - Method in class org.tquadrat.foundation.javacomposer.JavaComposer
Creates an instance of AnnotationSpec from the given AnnotationMirror instance.
createClassVersionAnnotation() - Method in class org.tquadrat.foundation.javacomposer.JavaComposer
Returns a @ClassVersion annotation with a default text for ClassVersion.sourceVersion().
createClassVersionAnnotation(String) - Method in class org.tquadrat.foundation.javacomposer.JavaComposer
Returns a @ClassVersion annotation with the text for ClassVersion.sourceVersion().
createComment4Constant(CodeBlock) - Method in class org.tquadrat.foundation.javacomposer.JavaComposer
Creates the comment for a constant.
createConstant(CharSequence, int, CodeBlock) - Method in class org.tquadrat.foundation.javacomposer.JavaComposer
Creates an integer constant.
createConstant(CharSequence, Type, CodeBlock, CodeBlock) - Method in class org.tquadrat.foundation.javacomposer.JavaComposer
Creates a constant.
createConstant(CharSequence, String, CodeBlock) - Method in class org.tquadrat.foundation.javacomposer.JavaComposer
Creates a String constant.
createConstant(CharSequence, TypeName, Number, CodeBlock) - Method in class org.tquadrat.foundation.javacomposer.JavaComposer
Creates a numerical constant.
createConstant(CharSequence, TypeName, CodeBlock, CodeBlock) - Method in class org.tquadrat.foundation.javacomposer.JavaComposer
Creates a constant.

A constant is an initialised public final static field.
createCopy() - Method in class org.tquadrat.foundation.javacomposer.internal.AnnotationTypeSpecImpl
Creates a dummy copy of the type spec that is used by TypeSpecImpl.emit(CodeWriter, String, Set) internally.
createCopy() - Method in class org.tquadrat.foundation.javacomposer.internal.ClassSpecImpl
Creates a dummy copy of the type spec that is used by TypeSpecImpl.emit(CodeWriter, String, Set) internally.
createCopy() - Method in class org.tquadrat.foundation.javacomposer.internal.EnumSpecImpl
Creates a dummy copy of the type spec that is used by TypeSpecImpl.emit(CodeWriter, String, Set) internally.
createCopy() - Method in class org.tquadrat.foundation.javacomposer.internal.InterfaceSpecImpl
Creates a dummy copy of the type spec that is used by TypeSpecImpl.emit(CodeWriter, String, Set) internally.
createCopy() - Method in class org.tquadrat.foundation.javacomposer.internal.RecordSpecImpl
Creates a dummy copy of the type spec that is used by TypeSpecImpl.emit(CodeWriter, String, Set) internally.
createCopy() - Method in class org.tquadrat.foundation.javacomposer.internal.TypeSpecImpl
Creates a dummy copy of the type spec that is used by TypeSpecImpl.emit(CodeWriter, String, Set) internally.
createDebugOutput(boolean) - Static method in class org.tquadrat.foundation.javacomposer.internal.Util
Creates the debug output.
createEqualsBuilder() - Method in class org.tquadrat.foundation.javacomposer.JavaComposer
Returns a builder for an implementation of the method Object.equals(Object) that just needs the method body for completion.
createEqualsMethod(CodeBlock) - Method in class org.tquadrat.foundation.javacomposer.JavaComposer
Returns a MethodSpec instance for an implementation of the method Object.equals(Object).
createHashCodeBuilder() - Method in class org.tquadrat.foundation.javacomposer.JavaComposer
Returns a builder for an implementation of the method Object.hashCode() that just needs the method body for completion.
createHashCodeMethod(Collection<? extends FieldSpec>) - Method in class org.tquadrat.foundation.javacomposer.JavaComposer
Returns a MethodSpec instance for an implementation of the method Object.hashCode().
createHashCodeMethod(CodeBlock) - Method in class org.tquadrat.foundation.javacomposer.JavaComposer
Returns a MethodSpec instance for an implementation of the method Object.hashCode().
createHashCodeMethod(FieldSpec...) - Method in class org.tquadrat.foundation.javacomposer.JavaComposer
Returns a MethodSpec instance for an implementation of the method Object.hashCode().
createInheritDocComment() - Method in class org.tquadrat.foundation.javacomposer.JavaComposer
Returns a code block with a comment for overriding methods:
createMethod(ExecutableElement) - Method in class org.tquadrat.foundation.javacomposer.JavaComposer
Creates a MethodSpec for the given ExecutableElement.
createParameter(Parameter) - Method in class org.tquadrat.foundation.javacomposer.JavaComposer
Creates an instance of ParameterSpec from the given Parameter instance.
createParameter(VariableElement) - Method in class org.tquadrat.foundation.javacomposer.JavaComposer
Creates an instance of ParameterSpec from the given VariableElement instance.
createReturnStatement() - Method in class org.tquadrat.foundation.javacomposer.JavaComposer
Creates a return statement with a comment, using retValue as the name for the return variable.
createReturnStatement(CharSequence) - Method in class org.tquadrat.foundation.javacomposer.JavaComposer
Creates a return statement with a comment.
createStaticClassBuilder(CharSequence) - Method in class org.tquadrat.foundation.javacomposer.JavaComposer
Returns a builder for a static class.
createSuppressWarningsAnnotation(Collection<SuppressableWarnings>) - Method in class org.tquadrat.foundation.javacomposer.JavaComposer
Returns a @SuppressWarnings annotation with the given values.
createSuppressWarningsAnnotation(JavaComposer, SuppressableWarnings...) - Static method in enum class org.tquadrat.foundation.javacomposer.SuppressableWarnings
Creates an AnnotationSpec instance for the @SuppressWarnings annotation.
createSuppressWarningsAnnotation(SuppressableWarnings...) - Method in class org.tquadrat.foundation.javacomposer.JavaComposer
Returns a @SuppressWarnings annotation with the given values.
createSuppressWarningsCommentForIDEA(JavaComposer, SuppressableWarnings...) - Static method in enum class org.tquadrat.foundation.javacomposer.SuppressableWarnings
Creates a comment (for IntelliJ IDEA) that suppresses the given warnings.
createToStringBuilder() - Method in class org.tquadrat.foundation.javacomposer.JavaComposer
Returns a builder for an implementation of the method Object.toString() that just needs the method body for completion.
createToStringMethod(CodeBlock) - Method in class org.tquadrat.foundation.javacomposer.JavaComposer
Returns a MethodSpec instance for an implementation of the method Object.toString().
createUtilityClassAnnotation() - Method in class org.tquadrat.foundation.javacomposer.JavaComposer
Returns a @UtilityClass annotation.
$ A B C D E F G H I J K L M N O P R S T U V W Z 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form