Status status= ((TestCaseElement) element).getStatus();
TestCaseElement testCaseElement= ((TestCaseElement) element); if (testCaseElement.getTestName().startsWith("@Ignore: ")) return fTestRunnerPart.fTestIcon;  Status status=testCaseElement.getStatus();
	public Image getImage(Object element) {		if (element instanceof TestCaseElement) {			Status status= ((TestCaseElement) element).getStatus();			if (status.isNotRun())				return fTestRunnerPart.fTestIcon;			else if (status.isError())				return fTestRunnerPart.fTestErrorIcon;			else if (status.isFailure())				return fTestRunnerPart.fTestFailIcon;			else if (status.isRunning())				return fTestRunnerPart.fTestRunningIcon;			else if (status.isOK())				return fTestRunnerPart.fTestOkIcon;			else				throw new IllegalStateException(element.toString());					} else if (element instanceof TestSuiteElement) {			Status status= ((TestSuiteElement) element).getStatus();			if (status.isNotRun())				return fTestRunnerPart.fSuiteIcon;			else if (status.isError())				return fTestRunnerPart.fSuiteErrorIcon;			else if (status.isFailure())				return fTestRunnerPart.fSuiteFailIcon;			else if (status.isRunning())				return fTestRunnerPart.fSuiteRunningIcon;			else if (status.isOK())				return fTestRunnerPart.fSuiteOkIcon;			else				throw new IllegalStateException(element.toString());				} else {			throw new IllegalArgumentException(String.valueOf(element));		}	}