View Javadoc
1   package com.puppycrawl.tools.checkstyle.checks.blocks.leftcurly;
2   
3   
4   public class InputLeftCurlyNewLineOptionWithLambda
5   {
6       static Runnable r1 = () -> {
7           String.valueOf("Hello world one!");
8       };
9   
10      static Runnable r2 = () -> String.valueOf("Hello world two!");
11  
12      static Runnable r3 = () -> {String.valueOf("Hello world two!");};
13  
14      static Runnable r4 = () ->
15      {
16          String.valueOf("Hello world one!");
17      };
18  }