View Javadoc
1   package com.puppycrawl.tools.checkstyle.checks.javadoc.javadocvariable;
2   
3   import java.util.function.Function;
4   
5   public class InputJavadocVariableNoJavadocNeededInLambda {
6       private static final Function<String, String> FUNCTION1 = (String it) -> {
7           String stuff = it;
8           return stuff + it;
9       };
10  
11      /** */
12      private static final Function<String, String> FUNCTION2 = (String it) -> {
13          String stuff = it;
14          return stuff + it;
15      };
16  
17      /** Runnable. */
18      private Runnable r = () -> {
19          String str = "Hello world";
20      };
21  }