A B C D E F G H I J K L M N O P Q R S T U V W
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- ABSTRACT - com.speedment.common.codegen.model.modifier.Modifier
- accept(Class) - Method in class com.speedment.common.codegen.controller.AutoConstructor
- accept(File) - Method in class com.speedment.common.codegen.controller.AutoImports
- accept(File) - Method in class com.speedment.common.codegen.controller.SetGetAdd
-
Generates getters, setters and adders for the fields in the specified model and sets the fields to private.
- accept(T) - Method in class com.speedment.common.codegen.controller.AlignTabs
- accept(T) - Method in class com.speedment.common.codegen.controller.AutoEquals
-
Adds an
equals()and ahashCode()method to the specified model. - accept(T) - Method in class com.speedment.common.codegen.controller.AutoJavadoc
-
Parses the specified model recursively to find all models that implements the
HasJavadoctrait but that does not have proper documentation and generates javadoc stubs for those models. - accept(T) - Method in class com.speedment.common.codegen.controller.FinalParameters
-
Sets all method parameters in the specified model to
final. - acceptEquals(T) - Method in class com.speedment.common.codegen.controller.AutoEquals
-
The
equals()-part of theacceptmethod. - acceptHashcode(T) - Method in class com.speedment.common.codegen.controller.AutoEquals
-
The
hashCode()-part of theacceptmethod. - add(AnnotationUsage) - Method in interface com.speedment.common.codegen.model.trait.HasAnnotationUsage
-
Adds the specified
AnnotationUsageto this model. - add(ClassOrInterface<?>) - Method in interface com.speedment.common.codegen.model.trait.HasClasses
-
Adds the specified
ClassOrInterfaceto this model. - add(Constructor) - Method in interface com.speedment.common.codegen.model.trait.HasConstructors
-
Adds the specified
Constructorto this model. - add(EnumConstant) - Method in interface com.speedment.common.codegen.model.Enum
-
Adds the specified constant to this enum.
- add(Field) - Method in interface com.speedment.common.codegen.model.trait.HasFields
-
Adds the specified
Fieldto this model. - add(Generic) - Method in interface com.speedment.common.codegen.model.trait.HasGenerics
-
Adds the specified
Genericto this model. - add(Import) - Method in interface com.speedment.common.codegen.model.trait.HasImports
-
Adds the specified
Importto this model. - add(Initializer) - Method in interface com.speedment.common.codegen.model.trait.HasInitializers
-
Adds the specified
Initializerto this model. - add(JavadocTag) - Method in interface com.speedment.common.codegen.model.trait.HasJavadocTags
-
Adds the specified
JavadocTagto this model. - add(Method) - Method in interface com.speedment.common.codegen.model.trait.HasMethods
-
Adds the specified
Methodto this model. - add(Value<?>) - Method in interface com.speedment.common.codegen.model.EnumConstant
-
Adds the specified construction parameter to this constant.
- add(Value<E>) - Method in interface com.speedment.common.codegen.model.trait.HasValues
-
Adds the specified
Valueto this model. - add(Type) - Method in interface com.speedment.common.codegen.model.Generic
-
Adds an upper bound to this generic.
- add(Type) - Method in interface com.speedment.common.codegen.model.trait.HasImplements
-
Adds the specified interface to the list of implemented interfaces of this model.
- add(Type) - Method in interface com.speedment.common.codegen.model.trait.HasThrows
-
Adds the specified exception reference to the
throws-clause of this model. - add(Type) - Method in interface com.speedment.common.codegen.model.value.AnonymousValue
-
Adds the specified type parameter to the end of the
AnonymousValue.getTypeParameters()list. - add(String) - Method in interface com.speedment.common.codegen.model.trait.HasCode
-
Adds the specified row of code to this model.
- add(String...) - Method in interface com.speedment.common.codegen.model.trait.HasCode
-
Adds all the specified rows to this model.
- add(Stream<String>) - Method in interface com.speedment.common.codegen.model.trait.HasCode
-
Adds all the specified rows to this model.
- addAllClasses(Collection<? extends ClassOrInterface<?>>) - Method in interface com.speedment.common.codegen.model.trait.HasClasses
-
Adds all the specified
ClassOrInterfacemembers to this model. - addAllFields(Collection<? extends Field>) - Method in interface com.speedment.common.codegen.model.trait.HasFields
-
Adds all the specified
Fieldmembers to this model. - alignTabs(String) - Static method in class com.speedment.common.codegen.util.Formatting
-
Replaces every tab character (
\t) in the specified rows with a number spaces so that the character indexes align. - alignTabs(List<String>) - Static method in class com.speedment.common.codegen.util.Formatting
-
Replaces every tab character (
\t) in the specified rows with a number spaces so that the character indexes align. - AlignTabs<T> - Class in com.speedment.common.codegen.controller
- AlignTabs() - Constructor for class com.speedment.common.codegen.controller.AlignTabs
- allFrom(Class<A>) - Method in class com.speedment.common.codegen.provider.StandardTransformFactory
- allFrom(Class<A>) - Method in interface com.speedment.common.codegen.TransformFactory
-
Builds a stream of all transforms that match the specified model.
- annotate(AnnotationUsage) - Method in interface com.speedment.common.codegen.model.trait.HasAnnotationUsage
-
Adds the specified
AnnotationUsageto this model. - annotate(Type) - Method in interface com.speedment.common.codegen.model.trait.HasAnnotationUsage
-
Creates an
AnnotationUsagewith the specifiedTypeand adds it to this model. - annotate(Type, String) - Method in interface com.speedment.common.codegen.model.trait.HasAnnotationUsage
-
Creates an
AnnotationUsagewith the specifiedTypeand adds it to this model. - Annotation - Interface in com.speedment.common.codegen.model
-
A model that represents an annotation in code.
- AnnotationModifier<T extends AnnotationModifier<T>> - Interface in com.speedment.common.codegen.model.modifier
-
Composed trait of all the
modifiersthat can be added to aAnnotation. - AnnotationUsage - Interface in com.speedment.common.codegen.model
-
A model that represents the usage of a particular annotation in code.
- AnonymousValue - Interface in com.speedment.common.codegen.model.value
-
A value representing a reference to an abstract implementation used anonymously to set a field.
- ArrayValue - Interface in com.speedment.common.codegen.model.value
- asType() - Method in interface com.speedment.common.codegen.model.Generic
-
Parses a
Typefrom the lower bound of this generic. - author(String) - Method in interface com.speedment.common.codegen.model.trait.HasJavadocTags
-
Adds an
DefaultJavadocTag.AUTHOR-tag with the specified value to this javadoc. - AUTHOR - com.speedment.common.codegen.constant.DefaultJavadocTag
- AutoConstructor - Class in com.speedment.common.codegen.controller
-
Generates a public constructor with all the final fields as input parameters.
- AutoConstructor() - Constructor for class com.speedment.common.codegen.controller.AutoConstructor
- AutoEquals<T extends HasFields<T> & HasMethods<T> & HasName<T>> - Class in com.speedment.common.codegen.controller
-
This control can be applied on a class, enum or similar to auto generate an
equalsand ahashCodemethod. - AutoEquals(HasImports<?>) - Constructor for class com.speedment.common.codegen.controller.AutoEquals
-
Instantiates the
AutoEqualsusing something that imports can be added to. - AutoImports - Class in com.speedment.common.codegen.controller
-
This control can be applied to a
Fileto automatically add imports for all types mentioned in the model hierarchy. - AutoImports(DependencyManager) - Constructor for class com.speedment.common.codegen.controller.AutoImports
-
Initializes the
AutoImports. - AutoJavadoc<T extends HasJavadoc<?>> - Class in com.speedment.common.codegen.controller
-
This control generates javadoc stubs for all models descending from the one applied to.
- AutoJavadoc() - Constructor for class com.speedment.common.codegen.controller.AutoJavadoc
B
- biconsumer(Type, Type) - Static method in class com.speedment.common.codegen.constant.DefaultType
- bifunction(Type, Type, Type) - Static method in class com.speedment.common.codegen.constant.DefaultType
-
Generates a
Typeto represent a java standardBiFunctionwith generic type variables. - binaryOperator(Type) - Static method in class com.speedment.common.codegen.constant.DefaultType
-
Generates a
Typeto represent a java standardBinaryOperatorwith generic type variables. - bipredicate(Type, Type) - Static method in class com.speedment.common.codegen.constant.DefaultType
-
Generates a
Typeto represent a java standardBiPredicatewith a generic type variable. - block(String) - Static method in class com.speedment.common.codegen.util.Formatting
-
Indents the specified text, surrounds it with brackets and put the content on a separate line.
- block(String, String...) - Static method in class com.speedment.common.codegen.util.Formatting
-
Indents the specified text, surrounds it with brackets and put the content on a separate line.
- block(Stream<String>) - Static method in class com.speedment.common.codegen.util.Formatting
-
Indents the specified text, surrounds it with brackets and put the content on a separate line.
- BooleanValue - Interface in com.speedment.common.codegen.model.value
- branches() - Method in interface com.speedment.common.codegen.RenderTree
- build() - Method in interface com.speedment.common.codegen.Meta.Builder
-
Builds this instance.
- build() - Method in interface com.speedment.common.codegen.RenderTree.Builder
- builder() - Static method in interface com.speedment.common.codegen.RenderTree
- builder(A, B) - Static method in interface com.speedment.common.codegen.Meta
-
Returns a new builder.
C
- call(Runnable) - Method in interface com.speedment.common.codegen.model.trait.HasCall
-
Calls the specified
Runnable. - call(Consumer<JavadocTag>) - Method in enum com.speedment.common.codegen.constant.DefaultJavadocTag
-
Calls the specified
Consumerwith this object as the parameter. - call(Consumer<T>) - Method in interface com.speedment.common.codegen.model.trait.HasCall
-
Calls the specified
Consumerwith this object as the parameter. - Class - Interface in com.speedment.common.codegen.model
-
A model that represents a class in code.
- ClassModifier<T extends ClassModifier<T>> - Interface in com.speedment.common.codegen.model.modifier
- classOf(Type) - Static method in class com.speedment.common.codegen.constant.DefaultType
- ClassOrInterface<T extends ClassOrInterface<T>> - Interface in com.speedment.common.codegen.model
- classToJavaFileName(String) - Static method in class com.speedment.common.codegen.util.Formatting
- clearDependencies() - Method in interface com.speedment.common.codegen.DependencyManager
-
Clear all dependencies.
- CollectorUtil - Class in com.speedment.common.codegen.util
-
Utility methods for collecting streams in various ways.
- com.speedment.common.codegen - module com.speedment.common.codegen
- com.speedment.common.codegen - package com.speedment.common.codegen
-
The main interfaces of the codegen library are located in this package.
- com.speedment.common.codegen.constant - package com.speedment.common.codegen.constant
-
This package contains constant classes.
- com.speedment.common.codegen.controller - package com.speedment.common.codegen.controller
-
Controllers that automate certain tasks on the model hierarchy is located here.
- com.speedment.common.codegen.model - package com.speedment.common.codegen.model
-
Models for typical object-oriented language building blocks are located in this package.
- com.speedment.common.codegen.model.modifier - package com.speedment.common.codegen.model.modifier
-
Implementations of the
Modifierinterface that represent the modifier keywords of the java language is located in this package. - com.speedment.common.codegen.model.trait - package com.speedment.common.codegen.model.trait
-
Common traits used by the codegen models located in the
com.speedment.codegen.lang.modelpackage. - com.speedment.common.codegen.model.value - package com.speedment.common.codegen.model.value
-
This package contains value classes.
- com.speedment.common.codegen.provider - package com.speedment.common.codegen.provider
-
This package contains provider classes.
- com.speedment.common.codegen.util - package com.speedment.common.codegen.util
-
Utility methods for the codegen library are located in this package.
- compare(Field) - Method in class com.speedment.common.codegen.controller.AutoEquals
-
Generates code for comparing the specified field in this and another object.
- constant(String, Type, Value<?>) - Method in interface com.speedment.common.codegen.model.trait.HasFields
-
Creates a public final static
Fieldwith the specified value and adds it to this model. - constant(String, Type, Boolean) - Method in interface com.speedment.common.codegen.model.trait.HasFields
-
Creates a public final static
Fieldwith the specified value and adds it to this model. - constant(String, Type, Number) - Method in interface com.speedment.common.codegen.model.trait.HasFields
-
Creates a public final static
Fieldwith the specified value and adds it to this model. - constant(String, Type, String) - Method in interface com.speedment.common.codegen.model.trait.HasFields
-
Creates a public final static
Fieldwith the specified value and adds it to this model. - Constructor - Interface in com.speedment.common.codegen.model
-
A model that represents a constructor in code.
- ConstructorModifier<T extends ConstructorModifier<T>> - Interface in com.speedment.common.codegen.model.modifier
-
Composed trait of all the
modifiersthat can be added to aConstructor. - consumer(Type) - Static method in class com.speedment.common.codegen.constant.DefaultType
- copy() - Method in enum com.speedment.common.codegen.constant.DefaultAnnotationUsage
- copy() - Method in enum com.speedment.common.codegen.constant.DefaultJavadocTag
- copy() - Method in enum com.speedment.common.codegen.model.modifier.Modifier
- copy() - Method in interface com.speedment.common.codegen.model.trait.HasCopy
-
Create a deep copy of this model if it is mutable.
- create() - Static method in interface com.speedment.common.codegen.DependencyManager
-
Creates and returns a new default DependencyManager.
- create(DependencyManager, TransformFactory) - Static method in interface com.speedment.common.codegen.Generator
-
Creates and returns a new Generator.
- create(File, ClassOrInterface<?>) - Static method in class com.speedment.common.codegen.constant.SimpleType
-
Creates a new
SimpleTypereferencing the specified class in the specified file. - create(File, ClassOrInterface<?>, Type...) - Static method in class com.speedment.common.codegen.constant.SimpleParameterizedType
-
Creates a new
SimpleParameterizedTypereferencing the specified class in the specified file. - create(Type, Type...) - Static method in class com.speedment.common.codegen.constant.SimpleParameterizedType
-
Creates a new
SimpleParameterizedTypebased on the class name of the specified class and the specified parameters. - create(String) - Static method in class com.speedment.common.codegen.constant.SimpleType
-
Creates a new
SimpleTypewith the specified absolute class name. - create(String, Type...) - Static method in class com.speedment.common.codegen.constant.SimpleParameterizedType
-
Creates a new
SimpleParameterizedTypewith the specified absolute class name. - create(Pattern...) - Static method in interface com.speedment.common.codegen.DependencyManager
-
Creates and returns a new default DependencyManager.
D
- DEFAULT - com.speedment.common.codegen.model.modifier.Modifier
- DefaultAnnotationUsage - Enum in com.speedment.common.codegen.constant
-
An enumeration with default constants for the
AnnotationUsageinterface. - DefaultJavadocTag - Enum in com.speedment.common.codegen.constant
- DefaultType - Class in com.speedment.common.codegen.constant
-
Constant implementations of the
Typeinterface that can be used to reference standard java types. - DefaultValue - Class in com.speedment.common.codegen.constant
-
Contains common default values used when generating java code.
- DependencyManager - Interface in com.speedment.common.codegen
-
Keeps track of which dependencies have been imported and which is not included.
- DEPRECATED - com.speedment.common.codegen.constant.DefaultAnnotationUsage
- DEPRECATED - com.speedment.common.codegen.constant.DefaultJavadocTag
- dnl() - Static method in class com.speedment.common.codegen.util.Formatting
-
Returns two new-line-characters as defined in
nl(String). - DOCUMENTED - com.speedment.common.codegen.constant.DefaultAnnotationUsage
- doubleFunction(Type) - Static method in class com.speedment.common.codegen.constant.DefaultType
-
Generates a
Typeto represent a java standardDoubleFunctionwith generic type variables.
E
- EMPTY_STRING - Static variable in class com.speedment.common.codegen.constant.DefaultValue
- entry(Type, Type) - Static method in class com.speedment.common.codegen.constant.DefaultType
- Enum - Interface in com.speedment.common.codegen.model
-
A model that represents an enumeration in code.
- EnumConstant - Interface in com.speedment.common.codegen.model
-
A model that represents a constant in an enumeration.
- EnumModifier<T extends EnumModifier<T>> - Interface in com.speedment.common.codegen.model.modifier
- EnumValue - Interface in com.speedment.common.codegen.model.value
- equals(Object) - Method in class com.speedment.common.codegen.constant.SimpleParameterizedType
- equals(Object) - Method in class com.speedment.common.codegen.constant.SimpleType
- EQUALS - Static variable in class com.speedment.common.codegen.controller.AutoEquals
- extend(Type) - Method in interface com.speedment.common.codegen.model.trait.HasSupertype
-
Sets the super type of this model.
- extend(Type, Type...) - Method in interface com.speedment.common.codegen.model.trait.HasSupertype
-
Sets the super type of this model to a parameterized type created with the specified base type and generic parameters.
- extend(Type, String...) - Method in interface com.speedment.common.codegen.model.trait.HasSupertype
-
Sets the super type of this model to a parameterized type created with the specified base type and generic parameters.
- EXTENDS - com.speedment.common.codegen.model.Generic.BoundType
F
- field(String, Type) - Method in interface com.speedment.common.codegen.model.trait.HasFields
-
Creates a
Fieldand adds it to this model. - field(String, String) - Method in interface com.speedment.common.codegen.model.trait.HasFields
-
Creates a
Fieldand adds it to this model. - Field - Interface in com.speedment.common.codegen.model
-
A model that represents a field in code.
- FieldModifier<T extends FieldModifier<T>> - Interface in com.speedment.common.codegen.model.modifier
- File - Interface in com.speedment.common.codegen.model
-
A model that represents an entire code file.
- fileToClassName(String) - Static method in class com.speedment.common.codegen.util.Formatting
- FINAL - com.speedment.common.codegen.model.modifier.Modifier
- FinalParameters<T extends HasMethods<T>> - Class in com.speedment.common.codegen.controller
-
This control makes sure all method parameters in the specified model is set to final.
- FinalParameters() - Constructor for class com.speedment.common.codegen.controller.FinalParameters
- forJava() - Static method in interface com.speedment.common.codegen.Generator
-
Returns an implementation of this interface that uses the default implementation used to generate Java code.
- Formatting - Class in com.speedment.common.codegen.util
-
Common formatting methods used when generating code.
- fromBottom(Class<T>) - Method in interface com.speedment.common.codegen.RenderStack
-
Returns a
Streamof all models in the stack of a particular type from bottom and up. - fromTop(Class<T>) - Method in interface com.speedment.common.codegen.RenderStack
-
Returns a
Streamof all models in the stack of a particular type from top to bottom. - function(Type, Type) - Static method in class com.speedment.common.codegen.constant.DefaultType
G
- Generator - Interface in com.speedment.common.codegen
-
A hook to the generator that can be passed to various stages in the pipeline.
- generic(Generic) - Method in interface com.speedment.common.codegen.model.trait.HasGenerics
-
Adds the specified
Genericto this model. - generic(Type) - Method in interface com.speedment.common.codegen.model.trait.HasGenerics
-
Created a new
Genericwith the specified type and adds it to this model. - generic(String) - Method in interface com.speedment.common.codegen.model.trait.HasGenerics
-
Created a new
Genericwith the specified name and adds it to this model. - generic(String, Type) - Method in interface com.speedment.common.codegen.model.trait.HasGenerics
-
Created a new
Genericwith the specified name and type and adds it to this model. - Generic - Interface in com.speedment.common.codegen.model
-
A model that represents the generic part of a type declaration in code.
- Generic.BoundType - Enum in com.speedment.common.codegen.model
-
Represents the bound type of this generic.
- genericType(Type, Type...) - Static method in class com.speedment.common.codegen.constant.DefaultType
-
Returns a new
SimpleParameterizedTypewith the specified type parameters. - genericType(Type, String...) - Static method in class com.speedment.common.codegen.constant.DefaultType
-
Returns a new
SimpleParameterizedTypewith the specified type parameters. - getActualTypeArguments() - Method in class com.speedment.common.codegen.constant.SimpleParameterizedType
- getAnnotations() - Method in interface com.speedment.common.codegen.model.trait.HasAnnotationUsage
-
Returns a list of all the annotation usages in this model.
- getBoundType() - Method in interface com.speedment.common.codegen.model.Generic
-
Returns the current bound type of this generic.
- getClasses() - Method in interface com.speedment.common.codegen.model.trait.HasClasses
-
Returns a list of all the classes, interfaces and enumerations in this model.
- getCode() - Method in interface com.speedment.common.codegen.model.trait.HasCode
-
Returns a list of the code rows of this model.
- getComment() - Method in interface com.speedment.common.codegen.model.trait.HasComment
-
If a comment is attached to this model, return it.
- getConstants() - Method in interface com.speedment.common.codegen.model.Enum
-
Returns a modifiable list of all the constants in this enum.
- getConstructors() - Method in interface com.speedment.common.codegen.model.trait.HasConstructors
-
Returns a list of all the constructors of this model.
- getCurrentPackage() - Method in interface com.speedment.common.codegen.DependencyManager
-
Returns the current package if one is set, or else
empty. - getDependencyMgr() - Method in interface com.speedment.common.codegen.Generator
-
Returns the
DependencyManagercurrently being used. - getDependencyMgr() - Method in class com.speedment.common.codegen.provider.StandardGenerator
- getDependencyMgr() - Method in class com.speedment.common.codegen.provider.StandardJavaGenerator
- getExceptions() - Method in interface com.speedment.common.codegen.model.trait.HasThrows
-
Returns a
Setwith all the exceptions that can be thrown by this model. - getFactory() - Method in interface com.speedment.common.codegen.Meta
-
The factory that created the transform.
- getFields() - Method in interface com.speedment.common.codegen.model.trait.HasFields
-
Returns a list of all the fields in this model.
- getGenerics() - Method in interface com.speedment.common.codegen.model.trait.HasGenerics
-
Returns a list of all the generics in this model.
- getImports() - Method in enum com.speedment.common.codegen.constant.DefaultJavadocTag
- getImports() - Method in interface com.speedment.common.codegen.model.trait.HasImports
-
Returns a list of all imports in this model.
- getInitializers() - Method in interface com.speedment.common.codegen.model.trait.HasInitializers
-
Returns a list of all intializers in this model.
- getInterfaces() - Method in interface com.speedment.common.codegen.model.trait.HasImplements
-
Returns a list of all the interfaces implemented by this model.
- getJavadoc() - Method in interface com.speedment.common.codegen.model.trait.HasJavadoc
-
Returns the documentation of this model if such exists, else
empty. - getLicenseTerm() - Method in interface com.speedment.common.codegen.model.trait.HasLicenseTerm
-
Returns the documentation of this model if such exists, else
empty. - getLowerBound() - Method in interface com.speedment.common.codegen.model.Generic
-
Returns the lower bound of this generic if it exists.
- getMethods() - Method in interface com.speedment.common.codegen.model.trait.HasMethods
-
Returns a list of all methods in this model.
- getModel() - Method in interface com.speedment.common.codegen.Meta
-
The model that was sent to the generator.
- getModifiers() - Method in interface com.speedment.common.codegen.model.trait.HasModifiers
-
Returns a
Setwith all modifiers of this model. - getName() - Method in enum com.speedment.common.codegen.constant.DefaultJavadocTag
- getName() - Method in enum com.speedment.common.codegen.model.modifier.Modifier
-
Returns the name of the modifier.
- getName() - Method in interface com.speedment.common.codegen.model.trait.HasName
-
Returns the name of this model.
- getName() - Method in class com.speedment.common.codegen.provider.StandardTransformFactory
- getName() - Method in interface com.speedment.common.codegen.TransformFactory
-
Returns a unique name of this factory.
- getOwnerType() - Method in class com.speedment.common.codegen.constant.SimpleParameterizedType
- getParent() - Method in interface com.speedment.common.codegen.model.trait.HasParent
-
Returns the parent model if one exists, otherwise an empty
Optional. - getRawType() - Method in class com.speedment.common.codegen.constant.SimpleParameterizedType
- getRenderStack() - Method in interface com.speedment.common.codegen.Generator
-
Returns the current rendering stack.
- getRenderStack() - Method in interface com.speedment.common.codegen.Meta
-
The render stack that represents which generation processes is waiting for this result.
- getRenderStack() - Method in class com.speedment.common.codegen.provider.StandardGenerator
- getRenderStack() - Method in class com.speedment.common.codegen.provider.StandardJavaGenerator
- getRenderTree() - Method in interface com.speedment.common.codegen.Meta
-
Returns a tree representation of the current rendering process.
- getResult() - Method in interface com.speedment.common.codegen.Meta
-
The result that was produced by the generator.
- getStaticMember() - Method in interface com.speedment.common.codegen.model.Import
-
Returns any static member referenced in this import.
- getSupertype() - Method in interface com.speedment.common.codegen.model.trait.HasSupertype
-
Returns the super type if such exists, else
empty. - getTags() - Method in interface com.speedment.common.codegen.model.trait.HasJavadocTags
-
Returns a list of all documentation tags of this model.
- getText() - Method in enum com.speedment.common.codegen.constant.DefaultJavadocTag
- getText() - Method in interface com.speedment.common.codegen.model.Javadoc
-
Returns the body text shown in the javadoc.
- getText() - Method in interface com.speedment.common.codegen.model.JavadocTag
-
Returns the text of this javadoc tag.
- getText() - Method in interface com.speedment.common.codegen.model.LicenseTerm
-
Returns the body text shown in the licenseterm.
- getTransform() - Method in interface com.speedment.common.codegen.Meta
-
The transform that was used to produce the result.
- getType() - Method in enum com.speedment.common.codegen.constant.DefaultAnnotationUsage
- getType() - Method in interface com.speedment.common.codegen.model.trait.HasType
-
Returns the type of this model.
- getTypeName() - Method in class com.speedment.common.codegen.constant.SimpleParameterizedType
- getTypeName() - Method in class com.speedment.common.codegen.constant.SimpleType
- getTypeParameters() - Method in interface com.speedment.common.codegen.model.value.AnonymousValue
-
Returns a list of type parameters to set when instantiating the anonymous type.
- getUpperBounds() - Method in interface com.speedment.common.codegen.model.Generic
-
Returns a modifiable list of all upper bounds to this generic.
- getValue() - Method in enum com.speedment.common.codegen.constant.DefaultAnnotationUsage
- getValue() - Method in enum com.speedment.common.codegen.constant.DefaultJavadocTag
- getValue() - Method in interface com.speedment.common.codegen.model.JavadocTag
-
Returns the value of this javadoc tag.
- getValue() - Method in interface com.speedment.common.codegen.model.trait.HasValue
-
Returns the value of this model.
- getValue() - Method in interface com.speedment.common.codegen.model.Value
-
Returns the inner value of this model.
- getValues() - Method in enum com.speedment.common.codegen.constant.DefaultAnnotationUsage
- getValues() - Method in interface com.speedment.common.codegen.model.AnnotationUsage
-
Returns a list of all the key-value pairs in this model.
- getValues() - Method in interface com.speedment.common.codegen.model.EnumConstant
-
Returns a modifiable list of all the construction parameters used when instantiating this enum constant.
- getValues() - Method in interface com.speedment.common.codegen.model.trait.HasValues
-
Returns a list of all the values in this model.
H
- HasAnnotationUsage<T extends HasAnnotationUsage<T>> - Interface in com.speedment.common.codegen.model.trait
-
A trait for models that contains
AnnotationUsagecomponents. - HasCall<T> - Interface in com.speedment.common.codegen.model.trait
-
Trait for code generator models that can be called.
- HasClasses<T extends HasClasses<T>> - Interface in com.speedment.common.codegen.model.trait
-
A trait for models that contain
ClassOrInterfacecomponents. - HasCode<T extends HasCode<T>> - Interface in com.speedment.common.codegen.model.trait
-
A trait for models that contains code.
- HasComment<T extends HasComment<T>> - Interface in com.speedment.common.codegen.model.trait
-
A trait for models that can have a comment.
- HasConstructors<T extends HasConstructors<T>> - Interface in com.speedment.common.codegen.model.trait
-
A trait for models that contain
Constructorcomponents. - HasCopy<T extends HasCopy<T>> - Interface in com.speedment.common.codegen.model.trait
-
Trait for code generator models that can be deep-copied.
- HasFields<T extends HasFields<T>> - Interface in com.speedment.common.codegen.model.trait
-
A trait for models that contain
Fieldcomponents. - HasGenerics<T extends HasGenerics<T>> - Interface in com.speedment.common.codegen.model.trait
-
A trait for models that contain
Genericcomponents. - hash(Field) - Method in class com.speedment.common.codegen.controller.AutoEquals
-
Generates code for hashing the specified field.
- hashCode() - Method in class com.speedment.common.codegen.constant.SimpleParameterizedType
- hashCode() - Method in class com.speedment.common.codegen.constant.SimpleType
- HASHCODE - Static variable in class com.speedment.common.codegen.controller.AutoEquals
- HasImplements<T extends HasImplements<T>> - Interface in com.speedment.common.codegen.model.trait
-
A trait for models that have interfaces as supertypes.
- HasImports<T extends HasImports<T>> - Interface in com.speedment.common.codegen.model.trait
-
A trait for models that contain
Importcomponents. - HasInitializers<T extends HasInitializers<T>> - Interface in com.speedment.common.codegen.model.trait
-
A trait for models that contain
Initializercomponents. - HasJavadoc<T extends HasJavadoc<T>> - Interface in com.speedment.common.codegen.model.trait
-
A trait for models that contain
Javadoccomponents. - HasJavadocTags<T extends HasJavadocTags<T>> - Interface in com.speedment.common.codegen.model.trait
-
A trait for models that contain
JavadocTagcomponents. - HasLicenseTerm<T extends HasLicenseTerm<T>> - Interface in com.speedment.common.codegen.model.trait
-
A trait for models that contain
LicenseTermcomponents. - hasMethod(T, String, int) - Method in class com.speedment.common.codegen.controller.AutoEquals
-
Returns if a method with the specified signature exists.
- HasMethods<T extends HasMethods<T>> - Interface in com.speedment.common.codegen.model.trait
-
A trait for models that contain
Methodcomponents. - HasModifiers<T extends HasModifiers<T>> - Interface in com.speedment.common.codegen.model.trait
-
A trait for models that contain
Modifiercomponents. - HasName<T extends HasName<T>> - Interface in com.speedment.common.codegen.model.trait
-
A trait for models that have a name.
- HasParent<P,T extends HasParent<P,T>> - Interface in com.speedment.common.codegen.model.trait
-
Trait for all models that has a parent.
- HasSupertype<T extends HasSupertype<T>> - Interface in com.speedment.common.codegen.model.trait
-
A trait for models that has a super type.
- HasThrows<T extends HasThrows<T>> - Interface in com.speedment.common.codegen.model.trait
-
A trait for models that can throw exceptions.
- HasType<T extends HasType<T>> - Interface in com.speedment.common.codegen.model.trait
-
A trait for models that has a
Type. - HasValue<T extends HasValue<T>> - Interface in com.speedment.common.codegen.model.trait
-
A trait for models that has a
Value. - HasValues<T extends HasValues<T>> - Interface in com.speedment.common.codegen.model.trait
-
Trait representing a type that has multiple
values, like a method or constructor invocation.
I
- ifelse(Optional<E>, Function<E, R>, R) - Static method in class com.speedment.common.codegen.util.Formatting
-
If the condition is present, the true-function will be called with its value and the result will be returned.
- implement(Type) - Method in interface com.speedment.common.codegen.model.trait.HasImplements
-
Adds the specified interface to the list of implemented interfaces of this model.
- implement(Type, Type...) - Method in interface com.speedment.common.codegen.model.trait.HasImplements
-
Adds the specified interface to the list of implemented interfaces of this model.
- implement(Type, String...) - Method in interface com.speedment.common.codegen.model.trait.HasImplements
-
Adds the specified interface to the list of implemented interfaces of this model.
- Import - Interface in com.speedment.common.codegen.model
-
A model that represents the explicit import of an dependency in code.
- importer - Variable in class com.speedment.common.codegen.controller.AutoEquals
- ImportModifier<T extends ImportModifier<T>> - Interface in com.speedment.common.codegen.model.modifier
- imports(Import) - Method in interface com.speedment.common.codegen.model.trait.HasImports
-
Adds the specified
Importto this model. - imports(Type) - Method in interface com.speedment.common.codegen.model.trait.HasImports
-
Creates an
Importusing the default implementation and adds it to this model. - imports(Type, String) - Method in interface com.speedment.common.codegen.model.trait.HasImports
-
Creates a static
Importusing the default implementation and adds it to this model. - indent(String) - Static method in class com.speedment.common.codegen.util.Formatting
-
Indents one level after each new-line-character as defined by
nl(). - indent(String...) - Static method in class com.speedment.common.codegen.util.Formatting
-
Indents one level after each new-line-character as defined by
nl(). - indent(String, int) - Static method in class com.speedment.common.codegen.util.Formatting
-
Indents a variable number of levels level after each new-line-character as defined by
nl(). - indent(Stream<String>) - Static method in class com.speedment.common.codegen.util.Formatting
-
Indents one level after each new-line-character as defined by
nl(). - INHERITED - com.speedment.common.codegen.constant.DefaultAnnotationUsage
- InitalizerModifier<T extends InitalizerModifier<T>> - Interface in com.speedment.common.codegen.model.modifier
-
Composed trait of all the
modifiersthat can be added to anInitializer. - Initializer - Interface in com.speedment.common.codegen.model
-
A model that represents an initializer in code.
- install(Class<A>, Class<B>, Supplier<T>) - Method in class com.speedment.common.codegen.provider.StandardTransformFactory
- install(Class<A>, Class<B>, Supplier<T>) - Method in interface com.speedment.common.codegen.TransformFactory
-
Installs the specified
Transform. - install(Class<A>, Supplier<T>) - Method in interface com.speedment.common.codegen.TransformFactory
-
Installs the specified
Transform, assuming that the resulting class is a String. - Interface - Interface in com.speedment.common.codegen.model
-
A model that represents an interface in code.
- InterfaceField - Interface in com.speedment.common.codegen.model
-
A model that represents a field of an interface in code.
- InterfaceFieldModifier<T extends InterfaceFieldModifier<T>> - Interface in com.speedment.common.codegen.model.modifier
-
Composed trait of all the
modifiersthat can be added to anInterfaceField. - InterfaceMethod - Interface in com.speedment.common.codegen.model
-
A model that represents a method of an interface in code.
- InterfaceMethodModifier<T extends InterfaceMethodModifier<T>> - Interface in com.speedment.common.codegen.model.modifier
-
Composed trait of all the
modifiersthat can be added to anInterfaceMethod. - InterfaceModifier<T extends InterfaceModifier<T>> - Interface in com.speedment.common.codegen.model.modifier
- intFunction(Type) - Static method in class com.speedment.common.codegen.constant.DefaultType
-
Generates a
Typeto represent a java standardIntFunctionwith generic type variables. - InvocationValue - Interface in com.speedment.common.codegen.model.value
-
A value calculated by invoking a method.
- is(Class<? extends Transform<?, ?>>) - Method in interface com.speedment.common.codegen.Transform
-
Returns true if this transform is or contains the specified transformer.
- isEmpty() - Method in interface com.speedment.common.codegen.RenderStack
-
Returns true if there are no models in the stack.
- isIgnored(String) - Method in interface com.speedment.common.codegen.DependencyManager
-
Returns true if the specified class belongs to a package that is on the ignore list.
- isLoaded(String) - Method in interface com.speedment.common.codegen.DependencyManager
-
Returns
trueif the specified fullname is either: - isPrimitive(Type) - Static method in class com.speedment.common.codegen.constant.DefaultType
-
Returns
trueif the specified type is a primitive type. - isPrimitive(Type) - Method in class com.speedment.common.codegen.controller.AutoEquals
-
Returns
trueif the specified type is a primitive type. - isWrapper(Type) - Static method in class com.speedment.common.codegen.constant.DefaultType
-
Returns
trueif the specified type is a wrapper type, elsefalse.
J
- javadoc(Javadoc) - Method in interface com.speedment.common.codegen.model.trait.HasJavadoc
-
Sets the
Javadocof this model. - Javadoc - Interface in com.speedment.common.codegen.model
-
A model that represents a block of documentation in code.
- JavadocTag - Interface in com.speedment.common.codegen.model
-
A model that represents a specific tag in a
Javadocblock. - javaNameFromExternal(String) - Static method in class com.speedment.common.codegen.util.Formatting
- joinIfNotEmpty(String, String, String) - Static method in class com.speedment.common.codegen.util.CollectorUtil
-
Similar to the
Collectors.joining(CharSequence, CharSequence, CharSequence)method except that this method surrounds the result with the specifiedprefixandsuffixeven if the stream is empty.
K
- Keyword - Class in com.speedment.common.codegen.model.modifier
-
Utility class that holds inner interfaces that are specializations of the
HasModifiers-trait.
L
- lcfirst(String) - Static method in class com.speedment.common.codegen.util.Formatting
-
Returns the specified text but with the first character lowercase.
- licenseTerm(String) - Method in interface com.speedment.common.codegen.model.trait.HasLicenseTerm
-
Sets the
LicenseTermof this model. - LicenseTerm - Interface in com.speedment.common.codegen.model
-
A model that represents a block of licenseterm in code.
- list(Type) - Static method in class com.speedment.common.codegen.constant.DefaultType
- load(String) - Method in interface com.speedment.common.codegen.DependencyManager
-
Attempts to add the specified resource to the dependency list.
- longFunction(Type) - Static method in class com.speedment.common.codegen.constant.DefaultType
-
Generates a
Typeto represent a java standardLongFunctionwith generic type variables.
M
- map(Type, Type) - Static method in class com.speedment.common.codegen.constant.DefaultType
- Meta<A,B> - Interface in com.speedment.common.codegen
-
Meta information about the generation process.
- Meta.Builder<A,B> - Interface in com.speedment.common.codegen
-
Builder for
Metaobjects. - metaOn(A, Class<B>) - Method in interface com.speedment.common.codegen.Generator
-
Renders the specified model into a stream of code models.
- metaOn(A, Class<B>) - Method in class com.speedment.common.codegen.provider.StandardGenerator
- metaOn(A, Class<B>) - Method in class com.speedment.common.codegen.provider.StandardJavaGenerator
- metaOn(A, Class<B>, Class<? extends Transform<A, B>>) - Method in interface com.speedment.common.codegen.Generator
-
Renders the specified model into a stream of code models.
- metaOn(Collection<A>) - Method in interface com.speedment.common.codegen.Generator
-
Renders all the specified models into a stream of code models.
- metaOn(Collection<A>, Class<B>) - Method in interface com.speedment.common.codegen.Generator
-
Renders all the specified models into a stream of code models.
- metaOn(Collection<A>, Class<B>, Class<? extends Transform<A, B>>) - Method in interface com.speedment.common.codegen.Generator
-
Renders all the specified models into a stream of code models.
- metaOn(M) - Method in interface com.speedment.common.codegen.Generator
-
Renders the specified model into a stream of code models.
- Method - Interface in com.speedment.common.codegen.model
-
A model that represents a method declaration in code.
- MethodModifier<T extends MethodModifier<T>> - Interface in com.speedment.common.codegen.model.modifier
- Modifier - Enum in com.speedment.common.codegen.model.modifier
-
A modifier is a keyword that the programmer can put before a declaration to configure things like accessibility and lifespan.
N
- nameFromExternal(String) - Static method in class com.speedment.common.codegen.util.Formatting
- NATIVE - com.speedment.common.codegen.constant.DefaultAnnotationUsage
- NATIVE - com.speedment.common.codegen.model.modifier.Modifier
- newPrivate() - Static method in interface com.speedment.common.codegen.model.Constructor
-
Creates a new instance implementing this interface by using the default implementation and setting the
Modifier.PRIVATE-modifier. - newProtected() - Static method in interface com.speedment.common.codegen.model.Constructor
-
Creates a new instance implementing this interface by using the default implementation and setting the
Modifier.PROTECTED-modifier. - newPublic() - Static method in interface com.speedment.common.codegen.model.Constructor
-
Creates a new instance implementing this interface by using the default implementation and setting the
Modifier.PUBLIC-modifier. - nl() - Static method in class com.speedment.common.codegen.util.Formatting
-
Returns the new-line-character as defined in
nl(String). - nl(String) - Static method in class com.speedment.common.codegen.util.Formatting
-
Sets which new-line-character to use.
- NULL - Static variable in class com.speedment.common.codegen.constant.DefaultValue
- NullValue - Interface in com.speedment.common.codegen.model.value
- NumberValue - Interface in com.speedment.common.codegen.model.value
O
- of() - Static method in interface com.speedment.common.codegen.model.Constructor
-
Creates a new instance implementing this interface by using the default implementation.
- of() - Static method in interface com.speedment.common.codegen.model.Generic
-
Creates a new instance implementing this interface by using the default implementation.
- of() - Static method in interface com.speedment.common.codegen.model.Initializer
-
Creates a new instance implementing this interface by using the default implementation.
- of() - Static method in interface com.speedment.common.codegen.model.Javadoc
-
Creates a new instance implementing this interface by using the default implementation.
- of() - Static method in interface com.speedment.common.codegen.model.LicenseTerm
-
Creates a new instance implementing this interface by using the default implementation.
- of(Field) - Static method in interface com.speedment.common.codegen.model.InterfaceField
-
Creates a new instance implementing this interface by wrapping an existing
Fieldin anInterfaceFieldImpl. - of(Method) - Static method in interface com.speedment.common.codegen.model.InterfaceMethod
-
Creates a new instance implementing this interface by wrapping an existing
Methodin anInterfaceMethodImpl. - of(Type) - Static method in interface com.speedment.common.codegen.model.AnnotationUsage
-
Creates a new instance implementing this interface by using the default implementation.
- of(Type) - Static method in interface com.speedment.common.codegen.model.Generic
-
Creates a new instance implementing this interface by using the default implementation.
- of(Type) - Static method in interface com.speedment.common.codegen.model.Import
-
Creates a new instance implementing this interface by using the default implementation.
- of(String) - Static method in interface com.speedment.common.codegen.model.Annotation
-
Creates a new instance implementing this interface using the default implementation.
- of(String) - Static method in interface com.speedment.common.codegen.model.Class
-
Creates a new instance implementing this interface by using the default implementation.
- of(String) - Static method in interface com.speedment.common.codegen.model.Enum
-
Creates a new instance implementing this interface by using the default implementation.
- of(String) - Static method in interface com.speedment.common.codegen.model.EnumConstant
-
Creates a new instance implementing this interface by using the default implementation.
- of(String) - Static method in interface com.speedment.common.codegen.model.File
-
Creates a new instance implementing this interface by using the default implementation.
- of(String) - Static method in interface com.speedment.common.codegen.model.Generic
-
Creates a new instance implementing this interface by using the default implementation.
- of(String) - Static method in interface com.speedment.common.codegen.model.Interface
-
Creates a new instance implementing this interface by using the default implementation.
- of(String) - Static method in interface com.speedment.common.codegen.model.Javadoc
-
Creates a new instance implementing this interface by using the default implementation.
- of(String) - Static method in interface com.speedment.common.codegen.model.JavadocTag
-
Creates a new instance implementing this interface by using the default implementation.
- of(String) - Static method in interface com.speedment.common.codegen.model.LicenseTerm
-
Creates a new instance implementing this interface by using the default implementation.
- of(String, Type) - Static method in interface com.speedment.common.codegen.model.Field
-
Creates a new instance implementing this interface by using the default implementation.
- of(String, Type) - Static method in interface com.speedment.common.codegen.model.Method
-
Creates a new instance implementing this interface by using the default implementation.
- of(String, String) - Static method in interface com.speedment.common.codegen.model.JavadocTag
-
Creates a new instance implementing this interface by using the default implementation.
- of(String, String, String) - Static method in interface com.speedment.common.codegen.model.JavadocTag
-
Creates a new instance implementing this interface by using the default implementation.
- OF_THIS - Static variable in class com.speedment.common.codegen.controller.SetGetAdd
- ofAnonymous(Type) - Static method in interface com.speedment.common.codegen.model.Value
-
Returns a new
AnonymousValuerepresenting the anonymous implementation of a class or interface as the value of a field. - ofArray() - Static method in interface com.speedment.common.codegen.model.Value
-
Returns a new
ArrayValuewith no values set. - ofArray(List<Value<?>>) - Static method in interface com.speedment.common.codegen.model.Value
-
Returns a new
ArrayValuewith the specified values set. - ofBoolean(Boolean) - Static method in interface com.speedment.common.codegen.model.Value
-
Returns a new
BooleanValuewith the specified value. - ofEnum(Type, String) - Static method in interface com.speedment.common.codegen.model.Value
-
Returns a new
EnumValuewith the specified constant selected. - ofInvocation(Type, String, Value<?>...) - Static method in interface com.speedment.common.codegen.model.Value
-
Returns a new
InvocationValuerepresenting a call to the specified static method in the specified class with the specified arguments. - ofInvocation(String, Value<?>...) - Static method in interface com.speedment.common.codegen.model.Value
-
Returns a new
InvocationValuerepresenting a call to the specified local method with the specified arguments. - ofNull() - Static method in interface com.speedment.common.codegen.model.Value
-
Returns a new
NullValuerepresentingnull. - ofNumber(Number) - Static method in interface com.speedment.common.codegen.model.Value
-
Returns a new
NumberValue. - ofReference(String) - Static method in interface com.speedment.common.codegen.model.Value
-
Returns a new
ReferenceValuerepresenting a reference to an object. - ofText(String) - Static method in interface com.speedment.common.codegen.model.Value
-
Returns a new
TextValuerepresenting a string text. - on(Object) - Method in interface com.speedment.common.codegen.Generator
-
Locates the
Transformthat corresponds to the specified model and uses it to generate aString. - onEach(Collection<M>) - Method in interface com.speedment.common.codegen.Generator
-
Renders all the specified models into a stream of strings.
- optional(Type) - Static method in class com.speedment.common.codegen.constant.DefaultType
- override() - Method in interface com.speedment.common.codegen.model.Method
-
Adds an
Override-annotation to this model. - OVERRIDE - com.speedment.common.codegen.constant.DefaultAnnotationUsage
P
- packageName(String) - Static method in class com.speedment.common.codegen.util.Formatting
-
Returns the 'package' part of a long name.
- param(String, String) - Method in interface com.speedment.common.codegen.model.trait.HasJavadocTags
-
Adds an
DefaultJavadocTag.PARAM-tag with the specified value to this javadoc. - PARAM - com.speedment.common.codegen.constant.DefaultJavadocTag
- predicate(Type) - Static method in class com.speedment.common.codegen.constant.DefaultType
- primitiveTypes() - Static method in class com.speedment.common.codegen.constant.DefaultType
-
Returns a stream of all the primitive types in the java language.
- PRIVATE - com.speedment.common.codegen.model.modifier.Modifier
- PROTECTED - com.speedment.common.codegen.model.modifier.Modifier
- PUBLIC - com.speedment.common.codegen.model.modifier.Modifier
- put(String, Value<?>) - Method in enum com.speedment.common.codegen.constant.DefaultAnnotationUsage
-
Use the specified key-value pair when referencing the annotation.
- put(String, Value<?>) - Method in interface com.speedment.common.codegen.model.AnnotationUsage
-
Use the specified key-value pair when referencing the annotation.
- put(String, Number) - Method in interface com.speedment.common.codegen.model.AnnotationUsage
-
Use the specified key-value pair when referencing the annotation.
- put(String, String) - Method in interface com.speedment.common.codegen.model.AnnotationUsage
-
Use the specified key-value pair when referencing the annotation.
Q
- queue(Type) - Static method in class com.speedment.common.codegen.constant.DefaultType
R
- ReferenceValue - Interface in com.speedment.common.codegen.model.value
- RenderStack - Interface in com.speedment.common.codegen
-
Represents the stack of models currently processed by the generator.
- RenderTree - Interface in com.speedment.common.codegen
- RenderTree.Builder - Interface in com.speedment.common.codegen
- repeat(String, int) - Static method in class com.speedment.common.codegen.util.Formatting
-
Repeats the specified substring count times.
- REPEATABLE - com.speedment.common.codegen.constant.DefaultAnnotationUsage
- replaceIfIllegalJavaIdentifierCharacter(String) - Static method in class com.speedment.common.codegen.util.Formatting
- replaceIfJavaUsedWord(String) - Static method in class com.speedment.common.codegen.util.Formatting
- RETENTION - com.speedment.common.codegen.constant.DefaultAnnotationUsage
- RETURN - com.speedment.common.codegen.constant.DefaultJavadocTag
- returns(String) - Method in interface com.speedment.common.codegen.model.trait.HasJavadocTags
-
Adds an
DefaultJavadocTag.RETURN-tag with the specified value to this javadoc.
S
- see(Type) - Method in interface com.speedment.common.codegen.model.trait.HasJavadocTags
-
Adds an
DefaultJavadocTag.SEE-tag that references the specified Java type. - SEE - com.speedment.common.codegen.constant.DefaultJavadocTag
- separate(String, String...) - Static method in class com.speedment.common.codegen.util.Formatting
-
Returns a string consisting of the specified blocks concatenated and separated by the specified separator.
- set(Javadoc) - Method in interface com.speedment.common.codegen.model.trait.HasJavadoc
-
Sets the
Javadocof this model. - set(LicenseTerm) - Method in interface com.speedment.common.codegen.model.trait.HasLicenseTerm
-
Sets the
LicenseTermof this model. - set(Value<?>) - Method in enum com.speedment.common.codegen.constant.DefaultAnnotationUsage
-
Sets the value of this model.
- set(Value<?>) - Method in interface com.speedment.common.codegen.model.trait.HasValue
-
Sets the value of this model.
- set(Boolean) - Method in interface com.speedment.common.codegen.model.trait.HasValue
-
Sets the value of this model to a new
BooleanValueholding the specifiedBoolean. - set(Number) - Method in interface com.speedment.common.codegen.model.trait.HasValue
-
Sets the value of this model to a new
NumberValueholding the specifiedNumber. - set(Type) - Method in enum com.speedment.common.codegen.constant.DefaultAnnotationUsage
-
Sets the type of this model.
- set(Type) - Static method in class com.speedment.common.codegen.constant.DefaultType
- set(Type) - Method in interface com.speedment.common.codegen.model.trait.HasType
-
Sets the type of this model.
- set(String) - Method in interface com.speedment.common.codegen.model.trait.HasValue
-
Sets the value of this model to a new
TextValueholding the specifiedString. - setBoundType(Generic.BoundType) - Method in interface com.speedment.common.codegen.model.Generic
-
Sets the bound type of this generic.
- setComment(String) - Method in interface com.speedment.common.codegen.model.trait.HasComment
-
Sets the comment of this model.
- setCurrentPackage(String) - Method in interface com.speedment.common.codegen.DependencyManager
-
Attempts to set the package that is currently being rendered.
- SetGetAdd - Class in com.speedment.common.codegen.controller
-
Control that is used to generate setters, getters and adders for fields in the specified class.
- SetGetAdd() - Constructor for class com.speedment.common.codegen.controller.SetGetAdd
-
Initializes the control with all methods included.
- SetGetAdd(BiPredicate<Field, Method>) - Constructor for class com.speedment.common.codegen.controller.SetGetAdd
-
Initializes the control but with only some
Methodsincluded. - setLowerBound(String) - Method in interface com.speedment.common.codegen.model.Generic
-
Sets the lower bound of this generic.
- setName(String) - Method in enum com.speedment.common.codegen.constant.DefaultJavadocTag
-
Sets the name of this model.
- setName(String) - Method in interface com.speedment.common.codegen.model.trait.HasName
-
Sets the name of this model.
- setParent(P) - Method in interface com.speedment.common.codegen.model.trait.HasParent
-
Sets the parent of this model.
- setStaticMember(String) - Method in interface com.speedment.common.codegen.model.Import
-
Sets the static member referenced by this import.
- setSupertype(Type) - Method in interface com.speedment.common.codegen.model.trait.HasSupertype
-
Sets the super type of this model.
- setText(String) - Method in enum com.speedment.common.codegen.constant.DefaultJavadocTag
-
Sets the text of this javadoc tag.
- setText(String) - Method in interface com.speedment.common.codegen.model.Javadoc
-
Sets the body text shown in the javadoc.
- setText(String) - Method in interface com.speedment.common.codegen.model.JavadocTag
-
Sets the text of this javadoc tag.
- setText(String) - Method in interface com.speedment.common.codegen.model.LicenseTerm
-
Sets the body text shown in the licenseterm.
- setValue(Type) - Method in interface com.speedment.common.codegen.model.value.AnonymousValue
- setValue(String) - Method in enum com.speedment.common.codegen.constant.DefaultJavadocTag
-
Sets the value of this javadoc tag.
- setValue(String) - Method in interface com.speedment.common.codegen.model.JavadocTag
-
Sets the value of this javadoc tag.
- setValue(String) - Method in interface com.speedment.common.codegen.model.value.InvocationValue
- setValue(V) - Method in interface com.speedment.common.codegen.model.Value
-
Sets the inner value of this.
- shortName(String) - Static method in class com.speedment.common.codegen.util.Formatting
-
Returns the 'name' part of a long name.
- SimpleParameterizedType - Class in com.speedment.common.codegen.constant
-
A very simple implementation of the java
ParameterizedTypeinterface. - SimpleType - Class in com.speedment.common.codegen.constant
-
A very simple implementation of the java
Typeinterface. - since(String) - Method in interface com.speedment.common.codegen.model.trait.HasJavadocTags
-
Adds an
DefaultJavadocTag.SINCE-tag with the specified value to this javadoc. - SINCE - com.speedment.common.codegen.constant.DefaultJavadocTag
- stack(Type) - Static method in class com.speedment.common.codegen.constant.DefaultType
- StandardGenerator - Class in com.speedment.common.codegen.provider
- StandardGenerator(DependencyManager, TransformFactory) - Constructor for class com.speedment.common.codegen.provider.StandardGenerator
- StandardJavaGenerator - Class in com.speedment.common.codegen.provider
- StandardJavaGenerator() - Constructor for class com.speedment.common.codegen.provider.StandardJavaGenerator
- StandardTransformFactory - Class in com.speedment.common.codegen.provider
- StandardTransformFactory(String) - Constructor for class com.speedment.common.codegen.provider.StandardTransformFactory
- STATIC - com.speedment.common.codegen.model.modifier.Modifier
- staticField(String) - Static method in class com.speedment.common.codegen.util.Formatting
-
Returns a static field name representation of the specified camel-cased string.
- stream(Type) - Static method in class com.speedment.common.codegen.constant.DefaultType
- STRICTFP - com.speedment.common.codegen.model.modifier.Modifier
- string(String) - Static method in class com.speedment.common.codegen.constant.DefaultValue
-
Creates a 'string' value with the specified content.
- stripGenerics(String) - Static method in class com.speedment.common.codegen.util.Formatting
-
Removes the generics and array parts of a class name.
- SUPER - com.speedment.common.codegen.model.Generic.BoundType
- supplier(Type) - Static method in class com.speedment.common.codegen.constant.DefaultType
- SUPPRESS_WARNINGS_UNCHECKED - com.speedment.common.codegen.constant.DefaultAnnotationUsage
- SYNCHRONIZED - com.speedment.common.codegen.model.modifier.Modifier
T
- tab() - Static method in class com.speedment.common.codegen.util.Formatting
-
Returns the current tab character.
- tab(String) - Static method in class com.speedment.common.codegen.util.Formatting
-
Sets the tab character to use when generating code.
- TARGET - com.speedment.common.codegen.constant.DefaultAnnotationUsage
- TextValue - Interface in com.speedment.common.codegen.model.value
- throwing(Type) - Method in interface com.speedment.common.codegen.model.trait.HasThrows
-
Adds the specified exception reference to the
throws-clause of this model. - THROWS - com.speedment.common.codegen.constant.DefaultJavadocTag
- toDoubleFunction(Type) - Static method in class com.speedment.common.codegen.constant.DefaultType
-
Generates a
Typeto represent a java standardToDoubleFunctionwith generic type variables. - toIntFunction(Type) - Static method in class com.speedment.common.codegen.constant.DefaultType
-
Generates a
Typeto represent a java standardToIntFunctionwith generic type variables. - toLongFunction(Type) - Static method in class com.speedment.common.codegen.constant.DefaultType
-
Generates a
Typeto represent a java standardToLongFunctionwith generic type variables. - toString() - Method in class com.speedment.common.codegen.constant.SimpleParameterizedType
- toString() - Method in class com.speedment.common.codegen.constant.SimpleType
- toUnderscoreSeparated(String) - Static method in class com.speedment.common.codegen.util.Formatting
-
Turns the specified string into an underscore-separated string.
- transform(Generator, F) - Method in interface com.speedment.common.codegen.Transform
-
Transforms a model from one type to another.
- transform(Transform<A, B>, A, TransformFactory) - Method in interface com.speedment.common.codegen.Generator
-
Transforms the specified model using the specified
Transformfrom the specifiedTransformFactory. - transform(Transform<A, B>, A, TransformFactory) - Method in class com.speedment.common.codegen.provider.StandardGenerator
- transform(Transform<A, B>, A, TransformFactory) - Method in class com.speedment.common.codegen.provider.StandardJavaGenerator
- Transform<F,T> - Interface in com.speedment.common.codegen
-
Transforms must have a public constructor with no parameters so that it can be instantiated dynamically.
- TransformFactory - Interface in com.speedment.common.codegen
-
Different
Transformimplementations can be installed in theTransformFactoryto be instantiated when needed. - TRANSIENT - com.speedment.common.codegen.model.modifier.Modifier
U
- ucfirst(String) - Static method in class com.speedment.common.codegen.util.Formatting
-
Returns the specified text but with the first character uppercase.
- unaryOperator(Type) - Static method in class com.speedment.common.codegen.constant.DefaultType
-
Generates a
Typeto represent a java standardUnaryOperatorwith generic type variables. - unQuote(String) - Static method in class com.speedment.common.codegen.util.Formatting
-
Returns the string but with any leading and trailing quotation marks trimmed.
- unsetCurrentPackage(String) - Method in interface com.speedment.common.codegen.DependencyManager
-
Attempts to unset the currently rendered package.
V
- Value<V> - Interface in com.speedment.common.codegen.model
-
A model that represents any kind of value declared in code.
- valueOf(String) - Static method in enum com.speedment.common.codegen.constant.DefaultAnnotationUsage
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.speedment.common.codegen.constant.DefaultJavadocTag
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.speedment.common.codegen.model.Generic.BoundType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.speedment.common.codegen.model.modifier.Modifier
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum com.speedment.common.codegen.constant.DefaultAnnotationUsage
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.speedment.common.codegen.constant.DefaultJavadocTag
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.speedment.common.codegen.model.Generic.BoundType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.speedment.common.codegen.model.modifier.Modifier
-
Returns an array containing the constants of this enum type, in the order they are declared.
- VERSION - com.speedment.common.codegen.constant.DefaultJavadocTag
- VOLATILE - com.speedment.common.codegen.model.modifier.Modifier
W
- WILDCARD - Static variable in class com.speedment.common.codegen.constant.DefaultType
- withBranch(Meta<?, ?>) - Method in interface com.speedment.common.codegen.RenderTree.Builder
- withFactory(TransformFactory) - Method in interface com.speedment.common.codegen.Meta.Builder
-
The factory that created the transform.
- withFirst(String, Function<Character, String>) - Static method in class com.speedment.common.codegen.util.Formatting
-
Does something with the first character in the specified String.
- withModel(A) - Method in interface com.speedment.common.codegen.Meta.Builder
-
The model that was sent to the generator.
- withRenderStack(RenderStack) - Method in interface com.speedment.common.codegen.Meta.Builder
-
The render stack that represents which generation processes is waiting for this result.
- withRenderTree(RenderTree) - Method in interface com.speedment.common.codegen.Meta.Builder
-
Sets the tree that should represent the current rendering process.
- withResult(B) - Method in interface com.speedment.common.codegen.Meta.Builder
-
The result that was produced by the generator.
- withTransform(Transform<A, B>) - Method in interface com.speedment.common.codegen.Meta.Builder
-
The transform that was used to produce the result.
- wrapperFor(Type) - Static method in class com.speedment.common.codegen.constant.DefaultType
-
Returns the corresponding wrapper type for the specified primitive type.
- wrapperTypes() - Static method in class com.speedment.common.codegen.constant.DefaultType
-
Returns a stream of all the wrapper types in the java language.
All Classes All Packages