Dieser Commit ist enthalten in:
Ursprung
05f5d3f7b3
Commit
a58dd0698f
@ -154,6 +154,7 @@ public class LinkageProcessor extends AbstractProcessor {
|
||||
buildPlan.addField(new FieldBuilder(typeElement.getSimpleName().toString(), typeElement.getSimpleName().toString()));
|
||||
|
||||
MethodBuilder initializer = new MethodBuilder(typeElement.getSimpleName().toString(), typeElement.getSimpleName().toString());
|
||||
initializer.setPrivate(true);
|
||||
initializer.addLine("if (" + typeElement.getSimpleName().toString() + " == null) {");
|
||||
initializer.addLine(" " + typeElement.getSimpleName().toString() + " = new " + typeElement.getSimpleName().toString() + "();");
|
||||
initializer.addLine("}");
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren