Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
Copyright (c) 2000, 2008 IBM Corporation and others. All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html Contributors: IBM Corporation - initial API and implementation /
package org.eclipse.jdt.core.search;
import  org.eclipse.core.resources.IResource;
A Java search match that represents a package reference. The element is the inner-most enclosing member that references this package.

This class is intended to be instantiated and subclassed by clients.

Since:
3.0
public class PackageReferenceMatch extends ReferenceMatch {

Creates a new package reference match.

Parameters:
enclosingElement the inner-most enclosing member that references this package
accuracy one of A_ACCURATE or A_INACCURATE
offset the offset the match starts at, or -1 if unknown
length the length of the match, or -1 if unknown
insideDocComment true if this search match is inside a doc comment, and false otherwise
participant the search participant that created the match
resource the resource of the element
public PackageReferenceMatch(IJavaElement enclosingElementint accuracyint offsetint lengthboolean insideDocCommentSearchParticipant participant, IResource resource) {
	super(enclosingElementaccuracyoffsetlengthinsideDocCommentparticipantresource);
New to GrepCode? Check out our FAQ X