summaryrefslogtreecommitdiff
path: root/java/typeMigration/testData/refactoring/migrateTypeSignature/typeArrayReftype2Lvalue/after/Type.java
blob: 5b667afd7284318601af36c8ffd94bb7b1855cbd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
interface Ancestor {}
interface Subject extends Ancestor {}
class Descendant implements Subject {}

class Type {
	private Ancestor[] myAncestors;
	private Subject[] mySubjects;
	private Subject[] myDescendants;

	public void meth(Subject[] p) {
		myAncestors = p;
		mySubjects = p;
		myDescendants = p;
	}
}