blob: a242550ddea74cbb1e8f805523f8f64bb61854e3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
|
package com.puppycrawl.tools.checkstyle.checks.naming;
public class InputAccessModifier {
public InputAccessModifier(int pubconstr) {}
public void v1(int h) {
new Object () {
public void i(int inner) {}
};
}
protected void v4(int h) {}
void v2(int h) {}
private void v3(int h) {}
public void i1(int pubpub) {}
protected void i4(int pubprot) {}
void i2(int pubpack) {}
private void i3(int pubpriv) {}
public interface InterfaceScope {
void v1(int h);
void i1(int pubifc);
}
}
class PrivateScope {
public void v1(int h) {}
protected void v4(int h) {}
void v2(int h) {}
private void v3(int h) {}
public void i1(int packpub) {}
protected void i4(int packprot) {}
void i2(int packpack) {}
private void i3(int packpriv) {
try {
/* Make sure catch var is ignored */
} catch (Exception exc) {
}
}
interface InterfaceScope {
void v1(int h);
void i1(int packifc);
}
interface FuncIfc {
void a(int h);
}
public void l() {
FuncIfc l1 = (int lexp)->{};
FuncIfc l2 = (limp)->{};
}
}
|