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