Пример #1
0
 @Override
 public <D extends Declaration> List<D> directImports(DeclarationSelector<D> selector)
     throws LookupException {
   Type type = typeReference().getElement();
   return selector.selection(type.declarations());
 }
Пример #2
0
 public <D extends Declaration> List<D> declarations(DeclarationSelector<D> selector)
     throws LookupException {
   return selector.selection(declarations());
 }