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