aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src_eclipseagent/lombok/eclipse/agent/PatchFixes.java3
1 files changed, 0 insertions, 3 deletions
diff --git a/src_eclipseagent/lombok/eclipse/agent/PatchFixes.java b/src_eclipseagent/lombok/eclipse/agent/PatchFixes.java
index 3ec5af90..1914bba7 100644
--- a/src_eclipseagent/lombok/eclipse/agent/PatchFixes.java
+++ b/src_eclipseagent/lombok/eclipse/agent/PatchFixes.java
@@ -23,7 +23,6 @@ public class PatchFixes {
}
public static void setIsGeneratedFlagForSimpleName(SimpleName name, Object internalNode) throws Exception {
- System.out.println("Setting isGenerated on SimpleName");
if (internalNode instanceof org.eclipse.jdt.internal.compiler.ast.ASTNode) {
if (internalNode.getClass().getField("$generatedBy").get(internalNode) != null) {
name.getClass().getField("$isGenerated").set(name, true);
@@ -32,14 +31,12 @@ public class PatchFixes {
}
public static SimpleName[] removeGeneratedSimpleNames(SimpleName[] in) throws Exception {
- System.out.print("Removing is generated...");
Field f = SimpleName.class.getField("$isGenerated");
int count = 0;
for (int i = 0; i < in.length; i++) {
if ( in[i] == null || !((Boolean)f.get(in[i])).booleanValue() ) count++;
}
- System.out.println("" + (in.length - count));
if (count == in.length) return in;
SimpleName[] newSimpleNames = new SimpleName[count];
count = 0;