1 11 12 package org.eclipse.jdt.internal.ui.search; 13 14 import org.eclipse.jdt.core.IJavaElement; 15 16 public class OccurrencesGroupKey extends JavaElementLine { 17 private boolean fIsWriteAccess; 18 private boolean fIsVariable; 19 20 29 public OccurrencesGroupKey(IJavaElement element, int line, String lineContents, boolean isWriteAccess, boolean isVariable) { 30 super(element, line, lineContents); 31 fIsWriteAccess= isWriteAccess; 32 fIsVariable= isVariable; 33 } 34 35 public boolean isVariable() { 36 return fIsVariable; 37 } 38 39 public boolean isWriteAccess() { 40 return fIsWriteAccess; 41 } 42 43 public void setWriteAccess(boolean isWriteAccess) { 44 fIsWriteAccess= isWriteAccess; 45 } 46 } 47 | Popular Tags |