public class HandleConstructor
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
HandleConstructor.HandleAllArgsConstructor |
static class |
HandleConstructor.HandleNoArgsConstructor |
static class |
HandleConstructor.HandleRequiredArgsConstructor |
static class |
HandleConstructor.SkipIfConstructorExists |
Constructor and Description |
---|
HandleConstructor() |
Modifier and Type | Method and Description |
---|---|
static ConstructorDeclaration |
createConstructor(AccessLevel level,
EclipseNode type,
java.util.Collection<EclipseNode> fields,
boolean allToDefault,
java.lang.Boolean suppressConstructorProperties,
EclipseNode sourceNode,
java.util.List<Annotation> onConstructor) |
static Annotation[] |
createConstructorProperties(ASTNode source,
java.util.Collection<EclipseNode> fields) |
MethodDeclaration |
createStaticConstructor(AccessLevel level,
java.lang.String name,
EclipseNode type,
java.util.Collection<EclipseNode> fields,
ASTNode source) |
void |
generateAllArgsConstructor(EclipseNode typeNode,
AccessLevel level,
java.lang.String staticName,
HandleConstructor.SkipIfConstructorExists skipIfConstructorExists,
java.util.List<Annotation> onConstructor,
EclipseNode sourceNode) |
void |
generateConstructor(EclipseNode typeNode,
AccessLevel level,
java.util.List<EclipseNode> fields,
boolean allToDefault,
java.lang.String staticName,
HandleConstructor.SkipIfConstructorExists skipIfConstructorExists,
java.lang.Boolean suppressConstructorProperties,
java.util.List<Annotation> onConstructor,
EclipseNode sourceNode) |
void |
generateRequiredArgsConstructor(EclipseNode typeNode,
AccessLevel level,
java.lang.String staticName,
HandleConstructor.SkipIfConstructorExists skipIfConstructorExists,
java.util.List<Annotation> onConstructor,
EclipseNode sourceNode) |
static boolean |
isLocalType(EclipseNode type) |
public void generateRequiredArgsConstructor(EclipseNode typeNode, AccessLevel level, java.lang.String staticName, HandleConstructor.SkipIfConstructorExists skipIfConstructorExists, java.util.List<Annotation> onConstructor, EclipseNode sourceNode)
public void generateAllArgsConstructor(EclipseNode typeNode, AccessLevel level, java.lang.String staticName, HandleConstructor.SkipIfConstructorExists skipIfConstructorExists, java.util.List<Annotation> onConstructor, EclipseNode sourceNode)
public void generateConstructor(EclipseNode typeNode, AccessLevel level, java.util.List<EclipseNode> fields, boolean allToDefault, java.lang.String staticName, HandleConstructor.SkipIfConstructorExists skipIfConstructorExists, java.lang.Boolean suppressConstructorProperties, java.util.List<Annotation> onConstructor, EclipseNode sourceNode)
public static Annotation[] createConstructorProperties(ASTNode source, java.util.Collection<EclipseNode> fields)
public static ConstructorDeclaration createConstructor(AccessLevel level, EclipseNode type, java.util.Collection<EclipseNode> fields, boolean allToDefault, java.lang.Boolean suppressConstructorProperties, EclipseNode sourceNode, java.util.List<Annotation> onConstructor)
public static boolean isLocalType(EclipseNode type)
public MethodDeclaration createStaticConstructor(AccessLevel level, java.lang.String name, EclipseNode type, java.util.Collection<EclipseNode> fields, ASTNode source)
Copyright © 2009-2015 The Project Lombok Authors, licensed under the MIT licence.