Class MapImplementor
java.lang.Object
org.tquadrat.foundation.config.ap.impl.codebuilders.CodeBuilderBase
org.tquadrat.foundation.config.ap.impl.codebuilders.MapImplementor
- All Implemented Interfaces:
CodeBuilder
@ClassVersion(sourceVersion="$Id: MapImplementor.java 1061 2023-09-25 16:32:43Z tquadrat $")
@API(status=STABLE,
since="0.1.0")
public final class MapImplementor
extends CodeBuilderBase
The
code builder implementation
for the generation of the code that let the configuration bean
implement the interface
Map.
More precisely, the configuration bean implements
Map<String,Object>, although this is not checked by the
annotation processor.
- Author:
- Thomas Thrien (thomas.thrien@tquadrat.org)
- Version:
- $Id: MapImplementor.java 1061 2023-09-25 16:32:43Z tquadrat $
- Since:
- 0.1.0
- UML Diagram
-
UML Diagram for "org.tquadrat.foundation.config.ap.impl.codebuilders.MapImplementor"
-
Nested Class Summary
Nested classes/interfaces inherited from class org.tquadrat.foundation.config.ap.impl.codebuilders.CodeBuilderBase
CodeBuilderBase.StringConverterInstantiationNested classes/interfaces inherited from interface org.tquadrat.foundation.config.ap.impl.CodeBuilder
CodeBuilder.StandardField, CodeBuilder.StandardMethod -
Constructor Summary
ConstructorsConstructorDescriptionMapImplementor(CodeGeneratorContext context) Creates a new instance ofMapImplementor. -
Method Summary
Methods inherited from class org.tquadrat.foundation.config.ap.impl.codebuilders.CodeBuilderBase
addConstructorArgument, addConstructorCode, addConstructorSuppressedWarning, addField, addField, addMethod, addMethod, composeAddMethod, composeConstructorFragment4Environment, composeConstructorFragment4SystemPreference, composeConstructorFragment4SystemProp, composeField, composeGetter, composeSetter, determineStringConverterInstantiation, getComposer, getConfiguration, getField, getMethod, getProperties, getStringConverter, isSynchronized
-
Constructor Details
-
MapImplementor
Creates a new instance ofMapImplementor.- Parameters:
context- The code generator context.
-
-
Method Details
-
build
Generates the relevant code.- Specified by:
buildin interfaceCodeBuilder- Specified by:
buildin classCodeBuilderBase
-
