diff options
author | Reinier Zwitserloot <reinier@zwitserloot.com> | 2015-02-04 01:32:07 +0100 |
---|---|---|
committer | Reinier Zwitserloot <reinier@zwitserloot.com> | 2015-02-04 01:32:07 +0100 |
commit | fd12196eea80f622686e049597eb5e86d4c98e7a (patch) | |
tree | 7c7acea5a0853736db71da84afecdc540bac0a80 /src/core/lombok/javac/JavacResolution.java | |
parent | 58a7914027e3373faa942aa4ce7df2d3ebfb9a20 (diff) | |
download | lombok-fd12196eea80f622686e049597eb5e86d4c98e7a.tar.gz lombok-fd12196eea80f622686e049597eb5e86d4c98e7a.tar.bz2 lombok-fd12196eea80f622686e049597eb5e86d4c98e7a.zip |
added the assertion logger feature, used for internal debugging only.
Diffstat (limited to 'src/core/lombok/javac/JavacResolution.java')
-rw-r--r-- | src/core/lombok/javac/JavacResolution.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/lombok/javac/JavacResolution.java b/src/core/lombok/javac/JavacResolution.java index 6231735c..67dbaac6 100644 --- a/src/core/lombok/javac/JavacResolution.java +++ b/src/core/lombok/javac/JavacResolution.java @@ -33,6 +33,7 @@ import java.util.Map; import javax.lang.model.type.TypeKind; import lombok.Lombok; +import lombok.core.debug.AssertionLogger; import com.sun.tools.javac.code.BoundKind; import com.sun.tools.javac.code.Symbol.TypeSymbol; @@ -191,6 +192,7 @@ public class JavacResolution { copy.accept(memberEnter); } catch (Exception ignore) { // intentionally ignored; usually even if this step fails, val will work (but not for val in method local inner classes and anonymous inner classes). + AssertionLogger.assertLog("member enter failed.", ignore); } finally { setEnvOfMemberEnter(memberEnter, oldEnv); } |