1
2
3
4
5
6
7
8 package com.puppycrawl.tools.checkstyle.checks.whitespace.whitespaceafter;
9
10 import java.util.List;
11
12 public class InputWhitespaceAfterVarargs {
13
14 public void method(int...obj) {
15 }
16
17 public InputWhitespaceAfterVarargs(String first,
18 List<Integer>...second) {
19 }
20
21 public <T> void anoMeth(List<T>...args) {
22 }
23
24 public static String multipleArguments(int l, String format, Object ... args) {
25 return format;
26 }
27
28 private void noWtSpcBefore(boolean ...args) {
29 }
30
31 testInterface<Integer> obj = (Integer... i) -> {
32 };
33 }
34
35 @FunctionalInterface
36 interface testInterface<T> {
37 void method(T ...args);
38 }