// Path: src/cmake/psi/CMakeNamedElement.java
// public interface CMakeNamedElement extends PsiNameIdentifierOwner {
// 
// }
// 
// Path: src/cmake/parsing/CMakeLexerAdapter.java
// public class CMakeLexerAdapter extends FlexAdapter {
//     public CMakeLexerAdapter() {
//         super(new _CMakeLexer((Reader) null));
//     }
// }


import cmake.psi.CMakeCommandName;
import cmake.psi.CMakeNamedElement;
import com.intellij.lang.HelpID;
import com.intellij.lang.cacheBuilder.DefaultWordsScanner;
import com.intellij.lang.cacheBuilder.WordOccurrence;
import com.intellij.lang.cacheBuilder.WordsScanner;
import com.intellij.lang.findUsages.FindUsagesProvider;
import com.intellij.openapi.util.TextRange;
import com.intellij.openapi.util.text.StringUtil;
import com.intellij.psi.ElementDescriptionUtil;
import com.intellij.psi.PsiElement;
import com.intellij.psi.tree.IElementType;
import com.intellij.psi.tree.TokenSet;
import com.intellij.usageView.UsageViewLongNameLocation;
import com.intellij.usageView.UsageViewNodeTextLocation;
import com.intellij.usageView.UsageViewTypeLocation;
import com.intellij.util.Processor;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
import cmake.psi.CMakeTypes;
import cmake.parsing.CMakeLexerAdapter;
package cmake.global;


/**
 * Created by alex on 12/30/14.
 */
public class CMakeFindUsagesProvider implements FindUsagesProvider {
    private static final DefaultWordsScanner WORDS_SCANNER =
// Path: src/cmake/psi/CMakeNamedElement.java
// public interface CMakeNamedElement extends PsiNameIdentifierOwner {
// 
// }
// 
// Path: src/cmake/parsing/CMakeLexerAdapter.java
// public class CMakeLexerAdapter extends FlexAdapter {
//     public CMakeLexerAdapter() {
//         super(new _CMakeLexer((Reader) null));
//     }
// }


// Path: src/cmake/global/CMakeFindUsagesProvider.java
import cmake.psi.CMakeCommandName;
import cmake.psi.CMakeNamedElement;
import com.intellij.lang.HelpID;
import com.intellij.lang.cacheBuilder.DefaultWordsScanner;
import com.intellij.lang.cacheBuilder.WordOccurrence;
import com.intellij.lang.cacheBuilder.WordsScanner;
import com.intellij.lang.findUsages.FindUsagesProvider;
import com.intellij.openapi.util.TextRange;
import com.intellij.openapi.util.text.StringUtil;
import com.intellij.psi.ElementDescriptionUtil;
import com.intellij.psi.PsiElement;
import com.intellij.psi.tree.IElementType;
import com.intellij.psi.tree.TokenSet;
import com.intellij.usageView.UsageViewLongNameLocation;
import com.intellij.usageView.UsageViewNodeTextLocation;
import com.intellij.usageView.UsageViewTypeLocation;
import com.intellij.util.Processor;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
import cmake.psi.CMakeTypes;
import cmake.parsing.CMakeLexerAdapter;

package cmake.global;


/**
 * Created by alex on 12/30/14.
 */
public class CMakeFindUsagesProvider implements FindUsagesProvider {
    private static final DefaultWordsScanner WORDS_SCANNER =
            new DefaultWordsScanner(new CMakeLexerAdapter(),