Java, typeres: clean up code, add comments
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@ -13,12 +13,12 @@ import net.sourceforge.pmd.typeresolution.testdata.dummytypes.SuperClassA;
|
||||
* Note: inherited fields of a nested class shadow outer scope variables
|
||||
* Note: only if they are accessible!
|
||||
*
|
||||
* TODO: test static field access, array types, anonymous class
|
||||
* TODO: test static field access, array types, anonymous class (super type access)
|
||||
*/
|
||||
public class FieldAccess extends SuperClassA {
|
||||
public int field;
|
||||
public FieldAccess f;
|
||||
public static int a;
|
||||
public static FieldAccess staticF;
|
||||
|
||||
public void foo(FieldAccess param) {
|
||||
FieldAccess local = null;
|
||||
|
@ -1,14 +0,0 @@
|
||||
/**
|
||||
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
|
||||
*/
|
||||
|
||||
package net.sourceforge.pmd.typeresolution.testdata.dummytypes;
|
||||
|
||||
public class StaticFields {
|
||||
public static StaticFields instanceFields;
|
||||
public static int staticPrimitive;
|
||||
public static GenericClass<Long, Integer> staticGeneric;
|
||||
|
||||
public long primitive;
|
||||
public GenericClass<String, Number> generic;
|
||||
}
|
Reference in New Issue
Block a user