You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Application.java 250B

12345678910111213141516
  1. public class Application {
  2. @Foo
  3. Runnable fromInnerClass() {
  4. return new Runnable() {
  5. @Override
  6. public void run() {
  7. }
  8. };
  9. }
  10. @Foo
  11. Runnable fromLambdaExpression() {
  12. return () -> { };
  13. }
  14. }