@ProviderFor(value=EclipseSingularsRecipes.EclipseSingularizer.class) public class EclipseJavaUtilMapSingularizer extends EclipseSingularsRecipes.EclipseSingularizer
Modifier and Type | Field and Description |
---|---|
protected EclipseSingularsRecipes.EclipseSingularizer |
guavaListSetSingularizer |
protected EclipseSingularsRecipes.EclipseSingularizer |
guavaMapSingularizer |
protected static char[][] |
JAVA_UTIL_ARRAYLIST |
protected static char[][] |
JAVA_UTIL_COLLECTIONS |
protected static char[][] |
JAVA_UTIL_LIST |
protected static char[][] |
JAVA_UTIL_MAP |
protected static char[][] |
JAVA_UTIL_MAP_ENTRY |
NULL_POSS
Constructor and Description |
---|
EclipseJavaUtilMapSingularizer() |
Modifier and Type | Method and Description |
---|---|
void |
appendBuildCode(EclipseSingularsRecipes.SingularData data,
EclipseNode builderType,
java.util.List<org.eclipse.jdt.internal.compiler.ast.Statement> statements,
char[] targetVariableName) |
protected org.eclipse.jdt.internal.compiler.ast.Statement |
createConstructBuilderVarIfNeeded(EclipseSingularsRecipes.SingularData data,
EclipseNode builderType,
boolean mapMode) |
protected java.util.List<org.eclipse.jdt.internal.compiler.ast.Statement> |
createJavaUtilSetMapInitialCapacitySwitchStatements(EclipseSingularsRecipes.SingularData data,
EclipseNode builderType,
boolean mapMode,
java.lang.String emptyCollectionMethod,
java.lang.String singletonCollectionMethod,
java.lang.String targetType) |
protected java.util.List<org.eclipse.jdt.internal.compiler.ast.Statement> |
createJavaUtilSimpleCreationAndFillStatements(EclipseSingularsRecipes.SingularData data,
EclipseNode builderType,
boolean mapMode,
boolean defineVar,
boolean addInitialCapacityArg,
boolean nullGuard,
java.lang.String targetType) |
java.util.List<EclipseNode> |
generateFields(EclipseSingularsRecipes.SingularData data,
EclipseNode builderType) |
void |
generateMethods(EclipseSingularsRecipes.SingularData data,
EclipseNode builderType,
boolean fluent,
boolean chain) |
lombok.core.LombokImmutableList<java.lang.String> |
getSupportedTypes() |
java.util.List<char[]> |
listFieldsToBeGenerated(EclipseSingularsRecipes.SingularData data,
EclipseNode builderType) |
java.util.List<char[]> |
listMethodsToBeGenerated(EclipseSingularsRecipes.SingularData data,
EclipseNode builderType) |
protected boolean |
useGuavaInstead(EclipseNode node) |
addTypeArgs, appendCleaningCode, checkForAlreadyExistingNodesAndGenerateError, cloneParamType, createTypeArgs, getSize, requiresCleaning
protected static final char[][] JAVA_UTIL_ARRAYLIST
protected static final char[][] JAVA_UTIL_LIST
protected static final char[][] JAVA_UTIL_MAP
protected static final char[][] JAVA_UTIL_MAP_ENTRY
protected static final char[][] JAVA_UTIL_COLLECTIONS
protected final EclipseSingularsRecipes.EclipseSingularizer guavaListSetSingularizer
protected final EclipseSingularsRecipes.EclipseSingularizer guavaMapSingularizer
public lombok.core.LombokImmutableList<java.lang.String> getSupportedTypes()
getSupportedTypes
in class EclipseSingularsRecipes.EclipseSingularizer
public java.util.List<char[]> listFieldsToBeGenerated(EclipseSingularsRecipes.SingularData data, EclipseNode builderType)
listFieldsToBeGenerated
in class EclipseSingularsRecipes.EclipseSingularizer
public java.util.List<char[]> listMethodsToBeGenerated(EclipseSingularsRecipes.SingularData data, EclipseNode builderType)
listMethodsToBeGenerated
in class EclipseSingularsRecipes.EclipseSingularizer
public java.util.List<EclipseNode> generateFields(EclipseSingularsRecipes.SingularData data, EclipseNode builderType)
generateFields
in class EclipseSingularsRecipes.EclipseSingularizer
public void generateMethods(EclipseSingularsRecipes.SingularData data, EclipseNode builderType, boolean fluent, boolean chain)
generateMethods
in class EclipseSingularsRecipes.EclipseSingularizer
public void appendBuildCode(EclipseSingularsRecipes.SingularData data, EclipseNode builderType, java.util.List<org.eclipse.jdt.internal.compiler.ast.Statement> statements, char[] targetVariableName)
appendBuildCode
in class EclipseSingularsRecipes.EclipseSingularizer
protected boolean useGuavaInstead(EclipseNode node)
protected java.util.List<org.eclipse.jdt.internal.compiler.ast.Statement> createJavaUtilSetMapInitialCapacitySwitchStatements(EclipseSingularsRecipes.SingularData data, EclipseNode builderType, boolean mapMode, java.lang.String emptyCollectionMethod, java.lang.String singletonCollectionMethod, java.lang.String targetType)
protected java.util.List<org.eclipse.jdt.internal.compiler.ast.Statement> createJavaUtilSimpleCreationAndFillStatements(EclipseSingularsRecipes.SingularData data, EclipseNode builderType, boolean mapMode, boolean defineVar, boolean addInitialCapacityArg, boolean nullGuard, java.lang.String targetType)
protected org.eclipse.jdt.internal.compiler.ast.Statement createConstructBuilderVarIfNeeded(EclipseSingularsRecipes.SingularData data, EclipseNode builderType, boolean mapMode)
Copyright © 2009-2015 The Project Lombok Authors, licensed under the MIT licence.