mirror of
https://github.com/github/codeql.git
synced 2026-06-14 01:11:09 +02:00
First pass converting qlref tests to inline expectation with postprocess
This commit is contained in:
@@ -2,11 +2,11 @@ public class ReflectionTest {
|
||||
|
||||
public static class ParentClass {
|
||||
// Not live
|
||||
private int notInheritedField;
|
||||
private int notInheritedField; // $ Alert
|
||||
// Live because it is accessed through ChildClass
|
||||
public int inheritedField;
|
||||
// Not live because it is shadowed by the child
|
||||
public int shadowedField;
|
||||
public int shadowedField; // $ Alert
|
||||
}
|
||||
|
||||
public static class ChildClass extends ParentClass {
|
||||
|
||||
Reference in New Issue
Block a user