1
2
3
4
5
6
7
8
9 package com.puppycrawl.tools.checkstyle.checks.whitespace.nowhitespaceafter;
10
11 public class InputNoWhitespaceAfterArrayDeclarations
12 {
13 Object[] someStuff = {};
14 Object [] someStuff1 = {};
15 Object someStuff2[] = {};
16 Object someStuff3 [] = {};
17 int [] a = {};
18 String s [] = {};
19 double d [] = {};
20 char[] c = {};
21 short sh[] = {};
22 long[] l = {};
23 byte b[] = {};
24 int get() [] {
25 return a;}
26 int [] receive() { return a; }
27 int get1(int k, int c, int b) [] {
28 return null;
29 }
30 private String[] getLines() {
31 return new String[] {
32 "s"
33 };
34 }
35 String aOptions[][];
36 int [][][] abc;
37 int cba [][][];
38 private String[][][] getSeveralLines() {
39 return new String [][][] {
40 new String [][] {
41 new String[] {
42 "s"
43 }
44 }
45 };
46 }
47 int ar [] = new int [] {1, 2};
48 private int [][][] getMultiArray() {
49 return null;
50 }
51 private long getLongMultiArray(int someParam, String value) [][][] {
52 return null;
53 }
54 int aa = new int[]{1}[0];
55 int bb = new int[]{1} [0];
56 int aaa = new int[][]{{1},{2}}[0][0];
57 int bbb = new int [][]{{1},{2}}[0][0];
58 int ccc = new int[] []{{1},{2}}[0][0];
59 int ddd = new int[][]{{1},{2}} [0][0];
60 int eee = new int[][]{{1},{2}}[0] [0];
61 int in1 = new int[][]{{1},{2}}[ 0][0];
62 int in2 = new int[][]{{1},{2}}[0 ][0];
63 int in3 = new int[][]{{1},{2}}[0][ 0];
64 int in4 = new int[][]{{1},{2}}[0][0 ];
65 }