blob: edad02dc2c11da4492f46a3be86bde8b36b1e827 [file] [log] [blame]
David Brazdil11b67b22018-01-18 16:41:40 +00001/*
2 * Copyright (C) 2017 The Android Open Source Project
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17public class ParentClass {
18 public ParentClass() {}
19
20 // INSTANCE FIELD
21
22 public int fieldPublicWhitelist = 211;
23 int fieldPackageWhitelist = 212;
24 protected int fieldProtectedWhitelist = 213;
25 private int fieldPrivateWhitelist = 214;
26
27 public int fieldPublicLightGreylist = 221;
28 int fieldPackageLightGreylist = 222;
29 protected int fieldProtectedLightGreylist = 223;
30 private int fieldPrivateLightGreylist = 224;
31
32 public int fieldPublicDarkGreylist = 231;
33 int fieldPackageDarkGreylist = 232;
34 protected int fieldProtectedDarkGreylist = 233;
35 private int fieldPrivateDarkGreylist = 234;
36
37 public int fieldPublicBlacklist = 241;
38 int fieldPackageBlacklist = 242;
39 protected int fieldProtectedBlacklist = 243;
40 private int fieldPrivateBlacklist = 244;
41
42 // STATIC FIELD
43
44 public static int fieldPublicStaticWhitelist = 111;
45 static int fieldPackageStaticWhitelist = 112;
46 protected static int fieldProtectedStaticWhitelist = 113;
47 private static int fieldPrivateStaticWhitelist = 114;
48
49 public static int fieldPublicStaticLightGreylist = 121;
50 static int fieldPackageStaticLightGreylist = 122;
51 protected static int fieldProtectedStaticLightGreylist = 123;
52 private static int fieldPrivateStaticLightGreylist = 124;
53
54 public static int fieldPublicStaticDarkGreylist = 131;
55 static int fieldPackageStaticDarkGreylist = 132;
56 protected static int fieldProtectedStaticDarkGreylist = 133;
57 private static int fieldPrivateStaticDarkGreylist = 134;
58
59 public static int fieldPublicStaticBlacklist = 141;
60 static int fieldPackageStaticBlacklist = 142;
61 protected static int fieldProtectedStaticBlacklist = 143;
62 private static int fieldPrivateStaticBlacklist = 144;
63
64 // INSTANCE METHOD
65
66 public int methodPublicWhitelist() { return 411; }
67 int methodPackageWhitelist() { return 412; }
68 protected int methodProtectedWhitelist() { return 413; }
69 private int methodPrivateWhitelist() { return 414; }
70
71 public int methodPublicLightGreylist() { return 421; }
72 int methodPackageLightGreylist() { return 422; }
73 protected int methodProtectedLightGreylist() { return 423; }
74 private int methodPrivateLightGreylist() { return 424; }
75
76 public int methodPublicDarkGreylist() { return 431; }
77 int methodPackageDarkGreylist() { return 432; }
78 protected int methodProtectedDarkGreylist() { return 433; }
79 private int methodPrivateDarkGreylist() { return 434; }
80
81 public int methodPublicBlacklist() { return 441; }
82 int methodPackageBlacklist() { return 442; }
83 protected int methodProtectedBlacklist() { return 443; }
84 private int methodPrivateBlacklist() { return 444; }
85
86 // STATIC METHOD
87
88 public static int methodPublicStaticWhitelist() { return 311; }
89 static int methodPackageStaticWhitelist() { return 312; }
90 protected static int methodProtectedStaticWhitelist() { return 313; }
91 private static int methodPrivateStaticWhitelist() { return 314; }
92
93 public static int methodPublicStaticLightGreylist() { return 321; }
94 static int methodPackageStaticLightGreylist() { return 322; }
95 protected static int methodProtectedStaticLightGreylist() { return 323; }
96 private static int methodPrivateStaticLightGreylist() { return 324; }
97
98 public static int methodPublicStaticDarkGreylist() { return 331; }
99 static int methodPackageStaticDarkGreylist() { return 332; }
100 protected static int methodProtectedStaticDarkGreylist() { return 333; }
101 private static int methodPrivateStaticDarkGreylist() { return 334; }
102
103 public static int methodPublicStaticBlacklist() { return 341; }
104 static int methodPackageStaticBlacklist() { return 342; }
105 protected static int methodProtectedStaticBlacklist() { return 343; }
106 private static int methodPrivateStaticBlacklist() { return 344; }
107
108 // CONSTRUCTOR
109
110 // Whitelist
111 public ParentClass(int x, short y) {}
112 ParentClass(float x, short y) {}
113 protected ParentClass(long x, short y) {}
114 private ParentClass(double x, short y) {}
115
116 // Light greylist
117 public ParentClass(int x, boolean y) {}
118 ParentClass(float x, boolean y) {}
119 protected ParentClass(long x, boolean y) {}
120 private ParentClass(double x, boolean y) {}
121
122 // Dark greylist
123 public ParentClass(int x, byte y) {}
124 ParentClass(float x, byte y) {}
125 protected ParentClass(long x, byte y) {}
126 private ParentClass(double x, byte y) {}
127
128 // Blacklist
129 public ParentClass(int x, char y) {}
130 ParentClass(float x, char y) {}
131 protected ParentClass(long x, char y) {}
132 private ParentClass(double x, char y) {}
133}