1 11 package org.eclipse.jdt.core.search; 12 13 import org.eclipse.core.resources.IResource; 14 import org.eclipse.jdt.core.IJavaElement; 15 16 25 public class TypeReferenceMatch extends SearchMatch { 26 27 private IJavaElement localElement; 28 private IJavaElement[] otherElements; 29 30 42 public TypeReferenceMatch(IJavaElement enclosingElement, int accuracy, int offset, int length, boolean insideDocComment, SearchParticipant participant, IResource resource) { 43 super(enclosingElement, accuracy, offset, length, participant, resource); 44 setInsideDocComment(insideDocComment); 45 } 46 47 56 public final IJavaElement getLocalElement() { 57 return this.localElement; 58 } 59 60 71 public final IJavaElement[] getOtherElements() { 72 return this.otherElements; 73 } 74 75 82 public final void setLocalElement(IJavaElement localElement) { 83 this.localElement = localElement; 84 } 85 86 93 public final void setOtherElements(IJavaElement[] otherElements) { 94 this.otherElements = otherElements; 95 } 96 } 97 | Popular Tags |