Lines Matching refs:LookupCase
63 private class LookupCase implements Comparable<LookupCase> {
67 public LookupCase(Lookup lookup) {
74 public LookupCase(Class<?> lookupClass, int lookupModes) {
87 public int compareTo(LookupCase that) {
102 return (that instanceof LookupCase && equals((LookupCase)that));
104 public boolean equals(LookupCase that) {
158 public LookupCase in(Class<?> c2) {
190 LookupCase l2 = new LookupCase(c2, m2);
211 LookupCase lc = this.in(c2);
247 private final TreeSet<LookupCase> CASES = new TreeSet<>();
248 private final TreeMap<LookupCase,TreeSet<LookupCase>> CASE_EDGES = new TreeMap<>();
253 private LookupCase lookupCase(String name) {
254 for (LookupCase lc : CASES) {
271 private void addLookupEdge(LookupCase l1, Class<?> c2, LookupCase l2) {
272 TreeSet<LookupCase> edges = CASE_EDGES.get(l2);
280 LookupCase expect = l1.in(c2);
292 CASES.add(new LookupCase(l));
300 for (LookupCase lc1 : CASES.toArray(new LookupCase[0])) {
302 LookupCase lc2 = new LookupCase(lc1.lookup().in(c2));
312 for (LookupCase lc : CASES) {
314 Set<LookupCase> edges = CASE_EDGES.get(lc);
316 for (LookupCase prev : edges) {
335 for (LookupCase targetCase : CASES) {
344 for (LookupCase sourceCase : CASES) {
355 private void testOneAccess(LookupCase sourceCase, Method method, String kind) {