Examples of processSubclassVariants()


Examples of com.intellij.psi.impl.source.resolve.reference.impl.providers.JavaClassReference.processSubclassVariants()

        if (customReference instanceof JavaClassReference) {
          JavaClassReference javaClassReference = (JavaClassReference)customReference;
          String[] names = javaClassReference.getExtendClassNames();
          PsiElement context = javaClassReference.getCompletionContext();
          if (names != null && context instanceof PsiPackage) {
            javaClassReference.processSubclassVariants((PsiPackage)context, names, new Consumer<LookupElement>() {
              @Override
              public void consume(LookupElement element) {
                variants.add(element);
              }
            });
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.