aboutsummaryrefslogtreecommitdiffstats
path: root/src/test/test4/Signature.java
blob: aa9de28b7e09002b07beede1dffb616e29ff3afe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
package test4;

public class Signature<T> {
    public static class Foo {
        int value;
    }

    public int run() {
        Signature<String> s = new Signature<String>();
        return s.foo(new Integer(3), "foo", s, null).length();
    }

    <S> T foo(S s, T t, Signature<T> signature, Signature<Signature<String>> v) {
        return t;
    }
}