Files
openide/java/java-tests/testData/refactoring/methodDuplicates/GenmethGeneral.java.after
Dmitry Jemerov f9dbab8f6d test++
2009-09-10 20:43:40 +04:00

21 lines
471 B
Plaintext

import java.util.AbstractList;
import java.util.ArrayList;
import java.util.List;
public class Genmeth {
public void context() {
Integer v1 = 0;
int v1a = method(v1);
AbstractList<String> v2 = new ArrayList<String>(0);
int v2a = method(v2);
AbstractList<Double> v3 = new ArrayList<Double>(0);
int v3a = method(v3);
AbstractList<Integer> v4 = new ArrayList<Integer>(0);
int v4a = method(v4);
}
public <T> int method(T t) {
return t.hashCode();
}
}