[Issue 275] Allow @Delegate on no-argument methods

This commit is contained in:
peichhorn
2012-01-19 00:44:47 +01:00
committed by Reinier Zwitserloot
parent 68fe3f41e9
commit 87cca2d322
7 changed files with 222 additions and 68 deletions
@@ -0,0 +1,11 @@
import lombok.Delegate;
abstract class DelegateOnMethods {
@Delegate
public abstract Bar getBar();
public static interface Bar {
void bar(java.util.ArrayList<java.lang.String> list);
}
}