diff options
author | Reinier Zwitserloot <reinier@zwitserloot.com> | 2012-06-12 18:53:47 +0200 |
---|---|---|
committer | Reinier Zwitserloot <reinier@zwitserloot.com> | 2012-06-12 18:53:47 +0200 |
commit | 7496a8f17047a1e1dd4a968632b1e4d2cbb5fda1 (patch) | |
tree | 1df877304b32947c39e9810a304bc4707893c233 /src/core/lombok/experimental | |
parent | a6a8e4c5554ff000bbac43f4f7f530f661e036d2 (diff) | |
download | lombok-7496a8f17047a1e1dd4a968632b1e4d2cbb5fda1.tar.gz lombok-7496a8f17047a1e1dd4a968632b1e4d2cbb5fda1.tar.bz2 lombok-7496a8f17047a1e1dd4a968632b1e4d2cbb5fda1.zip |
Port of lombok-pg's @ExtensionMethod support for eclipse. Doesn't work yet.
Diffstat (limited to 'src/core/lombok/experimental')
-rw-r--r-- | src/core/lombok/experimental/ExtensionMethod.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/lombok/experimental/ExtensionMethod.java b/src/core/lombok/experimental/ExtensionMethod.java index b25e535e..a9eaa6b7 100644 --- a/src/core/lombok/experimental/ExtensionMethod.java +++ b/src/core/lombok/experimental/ExtensionMethod.java @@ -60,5 +60,9 @@ public @interface ExtensionMethod { /** All types whose static methods will be exposed as extension methods. */ Class<?>[] value(); + /** + * If {@code true}, an applicable extension method is used (if found) even if the method call already was compilable (this is the default). + * If {@code false}, an extension method is only used if the method call is not also defined by the type itself. + */ boolean suppressBaseMethods() default true; } |