aboutsummaryrefslogtreecommitdiff
path: root/src_eclipseagent/java/lombok/eclipse/ClassLoaderWorkaround.java
diff options
context:
space:
mode:
Diffstat (limited to 'src_eclipseagent/java/lombok/eclipse/ClassLoaderWorkaround.java')
-rw-r--r--src_eclipseagent/java/lombok/eclipse/ClassLoaderWorkaround.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src_eclipseagent/java/lombok/eclipse/ClassLoaderWorkaround.java b/src_eclipseagent/java/lombok/eclipse/ClassLoaderWorkaround.java
index f5c8bbd3..3d8e9ec9 100644
--- a/src_eclipseagent/java/lombok/eclipse/ClassLoaderWorkaround.java
+++ b/src_eclipseagent/java/lombok/eclipse/ClassLoaderWorkaround.java
@@ -52,6 +52,10 @@ public class ClassLoaderWorkaround {
private static final Map<ClassLoader, Method> transform = new HashMap<ClassLoader, Method>();
+ public static void transformCompilationUnitDeclarationSwapped(Object cud, Object parser) throws Exception {
+ transformCompilationUnitDeclaration(parser, cud);
+ }
+
public static void transformCompilationUnitDeclaration(Object parser, Object cud) throws Exception {
Method transformMethod = getTransformMethod(cud);
try {