コード例 #1
0
ファイル: SingleStaticImport.java プロジェクト: jensdt/jnome
 @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());
 }