From f628bb67ddf39c1d892350da14e7b3e11c2a1563 Mon Sep 17 00:00:00 2001 From: yoyosource Date: Thu, 22 Sep 2022 13:15:22 +0200 Subject: [PATCH] Fix LinkageProcessor --- src/de/steamwar/linkage/LinkageProcessor.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/de/steamwar/linkage/LinkageProcessor.java b/src/de/steamwar/linkage/LinkageProcessor.java index 7f43a0b..343ee56 100644 --- a/src/de/steamwar/linkage/LinkageProcessor.java +++ b/src/de/steamwar/linkage/LinkageProcessor.java @@ -100,11 +100,11 @@ public class LinkageProcessor extends AbstractProcessor { MethodBuilder runsMethod = new MethodBuilder("run", "void"); runsMethod.addParameter(new ParameterBuilder("Class...", "types")); - runsMethod.addLine("for (Class type : types) run(type);"); + runsMethod.addLine("for (Class type : types) _run(type);"); buildPlan.addMethod(runsMethod); - MethodBuilder runMethod = new MethodBuilder("run", "void"); + MethodBuilder runMethod = new MethodBuilder("_run", "void"); runMethod.setPrivate(true); buildPlan.addMethod(runMethod); runMethod.addParameter(new ParameterBuilder("Class", "type"));