Example usage for org.eclipse.jdt.core.search IJavaSearchConstants CASE_SENSITIVE

List of usage examples for org.eclipse.jdt.core.search IJavaSearchConstants CASE_SENSITIVE

Introduction

In this page you can find the example usage for org.eclipse.jdt.core.search IJavaSearchConstants CASE_SENSITIVE.

Prototype

boolean CASE_SENSITIVE

To view the source code for org.eclipse.jdt.core.search IJavaSearchConstants CASE_SENSITIVE.

Click Source Link

Document

The search pattern matches the search result only if cases are the same.

Usage

From source file:eu.cloudwave.wp5.feedback.eclipse.tests.fixtures.base.JavaProjectFixture.java

License:Apache License

private void waitForIndexer() throws JavaModelException {
    new SearchEngine().searchAllTypeNames(ResourcesPlugin.getWorkspace(), null, null,
            IJavaSearchConstants.EXACT_MATCH, IJavaSearchConstants.CASE_SENSITIVE, IJavaSearchConstants.CLASS,
            SearchEngine.createJavaSearchScope(new IJavaElement[0]), new ITypeNameRequestor() {
                @Override//from  w w  w  .j a va  2 s .  c  om
                public void acceptClass(final char[] packageName, final char[] simpleTypeName,
                        final char[][] enclosingTypeNames, final String path) {
                }

                @Override
                public void acceptInterface(final char[] packageName, final char[] simpleTypeName,
                        final char[][] enclosingTypeNames, final String path) {
                }
            }, IJavaSearchConstants.WAIT_UNTIL_READY_TO_SEARCH, null);
}

From source file:org.springframework.ide.test.TestProject.java

License:Open Source License

private void waitForIndexer() throws JavaModelException {
    new SearchEngine().searchAllTypeNames(ResourcesPlugin.getWorkspace(), null, null,
            IJavaSearchConstants.EXACT_MATCH, IJavaSearchConstants.CASE_SENSITIVE, IJavaSearchConstants.CLASS,
            SearchEngine.createJavaSearchScope(new IJavaElement[0]), new ITypeNameRequestor() {
                public void acceptClass(char[] packageName, char[] simpleTypeName, char[][] enclosingTypeNames,
                        String path) {
                }//ww w. ja  v a  2s . co  m

                public void acceptInterface(char[] packageName, char[] simpleTypeName,
                        char[][] enclosingTypeNames, String path) {
                }
            }, IJavaSearchConstants.WAIT_UNTIL_READY_TO_SEARCH, null);
}