Package com.intellij.psi

Examples of com.intellij.psi.ResolveState


* @author: Fedor.Korotkov
*/
public class HaxeRefactoringUtil {
  public static Set<String> collectUsedNames(HaxePsiCompositeElement context) {
    final Set<HaxeComponentName> usedComponentNames = new THashSet<HaxeComponentName>();
    PsiTreeUtil.treeWalkUp(new ComponentNameScopeProcessor(usedComponentNames), context, null, new ResolveState());
    return new THashSet<String>(ContainerUtil.map(usedComponentNames, new Function<HaxeComponentName, String>() {
      @Nullable
      @Override
      public String fun(HaxeComponentName componentName) {
        return componentName.getName();
View Full Code Here

TOP

Related Classes of com.intellij.psi.ResolveState

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.