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