Example usage for org.eclipse.jdt.internal.core.search.matching ConstructorDeclarationPattern ConstructorDeclarationPattern

List of usage examples for org.eclipse.jdt.internal.core.search.matching ConstructorDeclarationPattern ConstructorDeclarationPattern

Introduction

In this page you can find the example usage for org.eclipse.jdt.internal.core.search.matching ConstructorDeclarationPattern ConstructorDeclarationPattern.

Prototype

public ConstructorDeclarationPattern(char[] declaringPackageName, char[] declaringSimpleName, int matchRule) 

Source Link

Usage

From source file:org.eclipse.xtext.common.types.xtext.ui.JdtBasedConstructorScope.java

License:Open Source License

public void collectContents(IJavaSearchScope searchScope, SearchRequestor searchRequestor)
        throws CoreException {
    SearchPattern pattern = new ConstructorDeclarationPattern(null, null, SearchPattern.R_PREFIX_MATCH);
    new SearchEngine().search(pattern, SearchUtils.getDefaultSearchParticipants(), searchScope, searchRequestor,
            new NullProgressMonitor());
}