Created
April 2, 2016 03:03
-
-
Save digitalbuddha/87c720ff8b3dcae23949046e4028af60 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Value.Immutable | |
@Value.Style(allParameters = true) | |
public abstract class Foo implements FooModel{ | |
public static final FooModel.Mapper<Foo> MAPPER = new FooModel.Mapper<>((Mapper.Creator<Foo>) ImmutableFoo::of); | |
public static final class Marshal extends FooModel.FooMarshal {} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Strangely, it works for me without the cast. Both Javac and ECJ