Package com.intellij.codeInsight

Examples of com.intellij.codeInsight.TargetElementUtilBase


  protected void doTest(PsiFile[] files, int expectedSize) {
    assertNotNull(files);
    final PsiFile myFile = files[0];
    assertNotNull(myFile);
    final TargetElementUtilBase util = TargetElementUtilBase.getInstance();
    assertNotNull(util);

    final Collection<PsiElement> elements = util.getTargetCandidates(myFile.findReferenceAt(myFixture.getCaretOffset()));
    assertNotNull(elements);
    assertEquals(expectedSize, elements.size());
  }
View Full Code Here

TOP

Related Classes of com.intellij.codeInsight.TargetElementUtilBase

Copyright © 2018 www.massapicom. 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.