public class HandleConstructor extends 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 org.eclipse.jdt.internal.compiler.ast.ConstructorDeclaration |
createConstructor(AccessLevel level,
EclipseNode type,
Collection<EclipseNode> fields,
Boolean suppressConstructorProperties,
EclipseNode sourceNode,
List<org.eclipse.jdt.internal.compiler.ast.Annotation> onConstructor) |
static org.eclipse.jdt.internal.compiler.ast.Annotation[] |
createConstructorProperties(org.eclipse.jdt.internal.compiler.ast.ASTNode source,
Collection<EclipseNode> fields) |
org.eclipse.jdt.internal.compiler.ast.MethodDeclaration |
createStaticConstructor(AccessLevel level,
String name,
EclipseNode type,
Collection<EclipseNode> fields,
org.eclipse.jdt.internal.compiler.ast.ASTNode source) |
void |
generateAllArgsConstructor(EclipseNode typeNode,
AccessLevel level,
String staticName,
HandleConstructor.SkipIfConstructorExists skipIfConstructorExists,
List<org.eclipse.jdt.internal.compiler.ast.Annotation> onConstructor,
EclipseNode sourceNode) |
void |
generateConstructor(EclipseNode typeNode,
AccessLevel level,
List<EclipseNode> fields,
String staticName,
HandleConstructor.SkipIfConstructorExists skipIfConstructorExists,
Boolean suppressConstructorProperties,
List<org.eclipse.jdt.internal.compiler.ast.Annotation> onConstructor,
EclipseNode sourceNode) |
void |
generateRequiredArgsConstructor(EclipseNode typeNode,
AccessLevel level,
String staticName,
HandleConstructor.SkipIfConstructorExists skipIfConstructorExists,
List<org.eclipse.jdt.internal.compiler.ast.Annotation> onConstructor,
EclipseNode sourceNode) |
static boolean |
isLocalType(EclipseNode type) |
public void generateRequiredArgsConstructor(EclipseNode typeNode, AccessLevel level, String staticName, HandleConstructor.SkipIfConstructorExists skipIfConstructorExists, List<org.eclipse.jdt.internal.compiler.ast.Annotation> onConstructor, EclipseNode sourceNode)
public void generateAllArgsConstructor(EclipseNode typeNode, AccessLevel level, String staticName, HandleConstructor.SkipIfConstructorExists skipIfConstructorExists, List<org.eclipse.jdt.internal.compiler.ast.Annotation> onConstructor, EclipseNode sourceNode)
public void generateConstructor(EclipseNode typeNode, AccessLevel level, List<EclipseNode> fields, String staticName, HandleConstructor.SkipIfConstructorExists skipIfConstructorExists, Boolean suppressConstructorProperties, List<org.eclipse.jdt.internal.compiler.ast.Annotation> onConstructor, EclipseNode sourceNode)
public static org.eclipse.jdt.internal.compiler.ast.Annotation[] createConstructorProperties(org.eclipse.jdt.internal.compiler.ast.ASTNode source,
Collection<EclipseNode> fields)
public static org.eclipse.jdt.internal.compiler.ast.ConstructorDeclaration createConstructor(AccessLevel level, EclipseNode type, Collection<EclipseNode> fields, Boolean suppressConstructorProperties, EclipseNode sourceNode, List<org.eclipse.jdt.internal.compiler.ast.Annotation> onConstructor)
public static boolean isLocalType(EclipseNode type)
public org.eclipse.jdt.internal.compiler.ast.MethodDeclaration createStaticConstructor(AccessLevel level, String name, EclipseNode type, Collection<EclipseNode> fields, org.eclipse.jdt.internal.compiler.ast.ASTNode source)
Copyright © 2009-2015 The Project Lombok Authors, licensed under the MIT licence.