diff options
Diffstat (limited to 'src_eclipseagent/lombok')
-rw-r--r-- | src_eclipseagent/lombok/eclipse/agent/EclipsePatcher.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src_eclipseagent/lombok/eclipse/agent/EclipsePatcher.java b/src_eclipseagent/lombok/eclipse/agent/EclipsePatcher.java index 1418252d..d51729ff 100644 --- a/src_eclipseagent/lombok/eclipse/agent/EclipsePatcher.java +++ b/src_eclipseagent/lombok/eclipse/agent/EclipsePatcher.java @@ -14,8 +14,8 @@ import java.util.jar.JarFile; import java.util.regex.Matcher; import java.util.regex.Pattern; -public class EclipseParserPatcher { - private EclipseParserPatcher() {} +public class EclipsePatcher { + private EclipsePatcher() {} private static class Patcher implements ClassFileTransformer { @Override public byte[] transform(ClassLoader loader, String className, @@ -71,10 +71,10 @@ public class EclipseParserPatcher { } private static String findPathOfOurClassloader() throws Exception { - ClassLoader loader = EclipseParserPatcher.class.getClassLoader(); + ClassLoader loader = EclipsePatcher.class.getClassLoader(); if ( loader == null ) loader = ClassLoader.getSystemClassLoader(); - URI uri = loader.getResource(EclipseParserPatcher.class.getName().replace('.', '/') + ".class").toURI(); + URI uri = loader.getResource(EclipsePatcher.class.getName().replace('.', '/') + ".class").toURI(); Pattern p = Pattern.compile("^jar:file:([^\\!]+)\\!.*\\.class$"); Matcher m = p.matcher(uri.toString()); if ( !m.matches() ) return "."; |