IType type= (IType)receiver; try { if (IS_TEST.equals(method)) return TestSearchEngine.isTestOrTestSuite(type); } catch (JavaModelException e) { return false;
if (receiver instanceof IType) { IType type= (IType)receiver; try { if (IS_TEST.equals(method)) return TestSearchEngine.isTestOrTestSuite(type); } catch (JavaModelException e) { } } else if(receiver instanceof ICompilationUnit) { ICompilationUnit cu = (ICompilationUnit) receiver; IType mainType= cu.getType(Signature.getQualifier(cu.getElementName())); try { return TestSearchEngine.isTestOrTestSuite(mainType); } catch (JavaModelException e) { }
	public boolean test(Object receiver, String method, Object[] args, Object expectedValue) {		IType type= (IType)receiver;		try {			if (IS_TEST.equals(method)) 				return TestSearchEngine.isTestOrTestSuite(type);		} catch (JavaModelException e) {			return false;		}		return false;	}