/** * Debugging purposes */ public String toStringWithAncestors() { return toStringWithAncestors(true/*show resolved info*/); } /**
/** * Debugging purposes */ public String toStringWithAncestors() { return toStringWithAncestors(true/*show resolved info*/); } /**
@Override public String toString() { return "HierarchyScope on " + ((JavaElement)this.focusType).toStringWithAncestors(); //$NON-NLS-1$ }
/** * Debugging purposes */ public String toStringWithAncestors() { return toStringWithAncestors(true/*show resolved info*/); } /**
/** * Debugging purposes */ public String toStringWithAncestors() { return toStringWithAncestors(true/*show resolved info*/); } /**
/** * Debugging purposes */ public String toStringWithAncestors() { return toStringWithAncestors(true/*show resolved info*/); } /**
/** * Debugging purposes */ public String toStringWithAncestors() { return toStringWithAncestors(true/*show resolved info*/); } /**
public int compare(Object a, Object b) { return ((JavaElement) a).toStringWithAncestors().compareTo(((JavaElement) b).toStringWithAncestors()); } });
@Override public int compare(Object a, Object b) { return ((JavaElement) a).toStringWithAncestors().compareTo(((JavaElement) b).toStringWithAncestors()); } });
public int compare(Object a, Object b) { return ((JavaElement) a).toStringWithAncestors().compareTo(((JavaElement) b).toStringWithAncestors()); } });
private void toString(StringBuffer buffer, IJavaElement type, int indent) { for (int j= 0; j < indent; j++) { buffer.append(" "); //$NON-NLS-1$ } buffer.append(((JavaElement) type).toStringWithAncestors(false/*don't show key*/)); buffer.append('\n'); } /**
private void toString(StringBuffer buffer, IJavaElement type, int indent) { for (int j= 0; j < indent; j++) { buffer.append(" "); //$NON-NLS-1$ } buffer.append(((JavaElement) type).toStringWithAncestors(false/*don't show key*/)); buffer.append('\n'); } /**
private void toString(StringBuffer buffer, IJavaElement type, int indent) { for (int j= 0; j < indent; j++) { buffer.append(" "); //$NON-NLS-1$ } buffer.append(((JavaElement) type).toStringWithAncestors(false/*don't show key*/)); buffer.append('\n'); } /**
private void toString(StringBuffer buffer, IJavaElement type, int indent) { for (int j= 0; j < indent; j++) { buffer.append(" "); //$NON-NLS-1$ } buffer.append(((JavaElement) type).toStringWithAncestors(false/*don't show key*/)); buffer.append('\n'); } /**
private void toString(StringBuffer buffer, IJavaElement type, int indent) { for (int j= 0; j < indent; j++) { buffer.append(" "); //$NON-NLS-1$ } buffer.append(((JavaElement) type).toStringWithAncestors(false/*don't show key*/)); buffer.append('\n'); } /**
private void toString(StringBuffer buffer, IJavaElement type, int indent) { for (int j= 0; j < indent; j++) { buffer.append(" "); //$NON-NLS-1$ } buffer.append(((JavaElement) type).toStringWithAncestors(false/*don't show key*/)); buffer.append('\n'); } /**
protected boolean makeSpace(int space) { if (this.beingAdded == null) return super.makeSpace(space); String fillingRatio = toStringFillingRation(this.name); boolean result = super.makeSpace(space); String newFillingRatio = toStringFillingRation(this.name); if (!fillingRatio.equals(newFillingRatio)) { System.out.println(Thread.currentThread() + " " + new Date(System.currentTimeMillis()).toString()); //$NON-NLS-1$ System.out.println(Thread.currentThread() + " MADE SPACE FOR " + fillingRatio + " (NOW " + NumberFormat.getInstance().format(fillingRatio()) + "% full)"); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ System.out.println(Thread.currentThread() + " WHILE OPENING "+ ((JavaElement) this.beingAdded).toStringWithAncestors()); //$NON-NLS-1$ System.out.println(); } return result; }
protected boolean makeSpace(int space) { if (this.beingAdded == null) return super.makeSpace(space); String fillingRatio = toStringFillingRation(this.name); boolean result = super.makeSpace(space); String newFillingRatio = toStringFillingRation(this.name); if (!fillingRatio.equals(newFillingRatio)) { System.out.println(Thread.currentThread() + " " + new Date(System.currentTimeMillis()).toString()); //$NON-NLS-1$ System.out.println(Thread.currentThread() + " MADE SPACE FOR " + fillingRatio + " (NOW " + NumberFormat.getInstance().format(fillingRatio()) + "% full)"); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ System.out.println(Thread.currentThread() + " WHILE OPENING "+ ((JavaElement) this.beingAdded).toStringWithAncestors()); //$NON-NLS-1$ System.out.println(); } return result; }
protected boolean makeSpace(int space) { if (this.beingAdded == null) return super.makeSpace(space); String fillingRatio = toStringFillingRation(this.name); boolean result = super.makeSpace(space); String newFillingRatio = toStringFillingRation(this.name); if (!fillingRatio.equals(newFillingRatio)) { System.out.println(Thread.currentThread() + " " + new Date(System.currentTimeMillis()).toString()); //$NON-NLS-1$ System.out.println(Thread.currentThread() + " MADE SPACE FOR " + fillingRatio + " (NOW " + NumberFormat.getInstance().format(fillingRatio()) + "% full)"); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ System.out.println(Thread.currentThread() + " WHILE OPENING "+ ((JavaElement) this.beingAdded).toStringWithAncestors()); //$NON-NLS-1$ System.out.println(); } return result; }
protected boolean makeSpace(int space) { if (this.beingAdded == null) return super.makeSpace(space); String fillingRatio = toStringFillingRation(this.name); boolean result = super.makeSpace(space); String newFillingRatio = toStringFillingRation(this.name); if (!fillingRatio.equals(newFillingRatio)) { System.out.println(Thread.currentThread() + " " + new Date(System.currentTimeMillis()).toString()); //$NON-NLS-1$ System.out.println(Thread.currentThread() + " MADE SPACE FOR " + fillingRatio + " (NOW " + NumberFormat.getInstance().format(fillingRatio()) + "% full)"); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ System.out.println(Thread.currentThread() + " WHILE OPENING "+ ((JavaElement) this.beingAdded).toStringWithAncestors()); //$NON-NLS-1$ System.out.println(); } return result; }