boolean showQualified= isShowQualifiedNames(); if (item instanceof IJavaVariable) { return getVariableText((IJavaVariable) item); } else if (item instanceof IStackFrame) { return getStackFrameText((IStackFrame) item); } else if (item instanceof IMarker) { return getMarkerText((IMarker) item); } else { String label= null; if (item instanceof IJavaThread) { label= getThreadText((IJavaThread) item, showQualified); } else if (item instanceof IJavaDebugTarget) { label= getDebugTargetText((IJavaDebugTarget) item, showQualified); } else if (item instanceof IJavaValue) { label= getValueText((IJavaValue) item);
try { boolean showQualified= isShowQualifiedNames(); if (item instanceof IJavaVariable) { return getVariableText((IJavaVariable) item); } else if (item instanceof IStackFrame) { return getStackFrameText((IStackFrame) item); } else if (item instanceof IMarker) { return getMarkerText((IMarker) item); } else { String label= null; if (item instanceof IJavaThread) { label= getThreadText((IJavaThread) item, showQualified); } else if (item instanceof IJavaDebugTarget) { label= getDebugTargetText((IJavaDebugTarget) item, showQualified); } else if (item instanceof IJavaValue) { label= getValueText((IJavaValue) item); } if (item instanceof ITerminate) { if (((ITerminate) item).isTerminated()) { label= DebugUIUtils.getResourceString(PREFIX + TERMINATED) + label; return label; } } return label;
	public String getText(Object item) {		boolean showQualified= isShowQualifiedNames();		if (item instanceof IJavaVariable) {			return getVariableText((IJavaVariable) item);		} else if (item instanceof IStackFrame) {			return getStackFrameText((IStackFrame) item);		} else if (item instanceof IMarker) {			return getMarkerText((IMarker) item);		} else {			String label= null;			if (item instanceof IJavaThread) {				label= getThreadText((IJavaThread) item, showQualified);			} else if (item instanceof IJavaDebugTarget) {				label= getDebugTargetText((IJavaDebugTarget) item, showQualified);			} else if (item instanceof IJavaValue) {				label= getValueText((IJavaValue) item);			}			if (item instanceof ITerminate) {				if (((ITerminate) item).isTerminated()) {					label= DebugUIUtils.getResourceString(PREFIX + TERMINATED) + label;					return label;				}			}			return label;		}	}