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