blob: eef5a43c148deab94a301edb0cc95dc2ebcc10aa (
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
|
package com.kronos.code;
public class Processor3 extends Processor1 {
@OkToIgnore
public int u = 0; // should pass it is marked as ok to ignore
private int v = 0; // should fail it has public accessor but is not processed
private int w = 0; // should pass it has public accessor and is processed
public int x = 0; // should pass it is public and is processed
public int y = 0; // should fail it is public and is not processed
private int z = 0; // should pass it is private and does not have a public accessor
public void process() {
int a = x;
int b = w;
super.process();
}
public int getW(){
return w;
}
public int getV(){
return v;
}
}
|