equal
deleted
inserted
replaced
363 Assert.check(refSym.kind == expectedKind); |
363 Assert.check(refSym.kind == expectedKind); |
364 Assert.check(nameFilter.accepts(refSym.name)); |
364 Assert.check(nameFilter.accepts(refSym.name)); |
365 Assert.check(!refSym.owner.isInterface() || interfaceOwner); |
365 Assert.check(!refSym.owner.isInterface() || interfaceOwner); |
366 } |
366 } |
367 //where |
367 //where |
368 Filter<Name> nonInitFilter = new Filter<Name>() { |
368 Filter<Name> nonInitFilter = n -> (n != n.table.names.init && n != n.table.names.clinit); |
369 public boolean accepts(Name n) { |
369 |
370 return n != n.table.names.init && n != n.table.names.clinit; |
370 Filter<Name> initFilter = n -> n == n.table.names.init; |
371 } |
|
372 }; |
|
373 |
|
374 Filter<Name> initFilter = new Filter<Name>() { |
|
375 public boolean accepts(Name n) { |
|
376 return n == n.table.names.init; |
|
377 } |
|
378 }; |
|
379 } |
371 } |
380 } |
372 } |