Ejemplo n.º 1
0
 @NotNull
 @Override
 public PsiClass[] findDirectInheritorCandidatesInFile(
     @NotNull String[] internalNames,
     @NotNull PsiFileWithStubSupport file,
     @NotNull PsiNamedElement superClass) {
   return JavaCompilerElementRetriever.retrieveClassesByInternalNames(
       internalNames, superClass, file);
 }
Ejemplo n.º 2
0
 @NotNull
 @Override
 public PsiFunctionalExpression[] findFunExpressionsInFile(
     @NotNull Integer[] funExpressions, @NotNull PsiFileWithStubSupport file) {
   TIntHashSet requiredIndices = new TIntHashSet(funExpressions.length);
   for (int funExpr : funExpressions) {
     requiredIndices.add(funExpr);
   }
   return JavaCompilerElementRetriever.retrieveFunExpressionsByIndices(requiredIndices, file);
 }