diff options
author | Reinier Zwitserloot <reinier@zwitserloot.com> | 2014-03-01 02:55:46 +0100 |
---|---|---|
committer | Reinier Zwitserloot <reinier@zwitserloot.com> | 2014-03-01 02:55:46 +0100 |
commit | fbab1ca77cb8306843e26c5bad91186b34563282 (patch) | |
tree | 15772687215499b573c6a7f458227cfe7b194b08 /experimental/src/lombok/javac | |
parent | 1fa01142832bf9ba6ddd9d08d7392bd807f8430f (diff) | |
download | lombok-fbab1ca77cb8306843e26c5bad91186b34563282.tar.gz lombok-fbab1ca77cb8306843e26c5bad91186b34563282.tar.bz2 lombok-fbab1ca77cb8306843e26c5bad91186b34563282.zip |
yet another patcher-sourced fix, heh. Version-a-day!
Diffstat (limited to 'experimental/src/lombok/javac')
-rw-r--r-- | experimental/src/lombok/javac/disableCheckedExceptions/DisableCheckedExceptionsAgent.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/experimental/src/lombok/javac/disableCheckedExceptions/DisableCheckedExceptionsAgent.java b/experimental/src/lombok/javac/disableCheckedExceptions/DisableCheckedExceptionsAgent.java index f9598be5..d023a399 100644 --- a/experimental/src/lombok/javac/disableCheckedExceptions/DisableCheckedExceptionsAgent.java +++ b/experimental/src/lombok/javac/disableCheckedExceptions/DisableCheckedExceptionsAgent.java @@ -34,7 +34,7 @@ import javax.lang.model.element.Element; import javax.lang.model.element.TypeElement; import javax.tools.Diagnostic.Kind; -import lombok.patcher.HomeFinder; +import lombok.patcher.ClassRootFinder; import lombok.patcher.Hook; import lombok.patcher.MethodTarget; import lombok.patcher.ScriptManager; @@ -57,7 +57,7 @@ public class DisableCheckedExceptionsAgent extends AbstractProcessor { procEnv.getMessager().printMessage(Kind.WARNING, "You aren't using a compiler based around javac v1.6, so disableCheckedExceptions will not work.\n" + "Your processor class is: " + className); } else { - new LiveInjector().inject(HomeFinder.findHomeOfClass(DisableCheckedExceptionsAgent.class)); + new LiveInjector().inject(ClassRootFinder.findClassRootOfClass(DisableCheckedExceptionsAgent.class)); } } |