isVoid= returnTypeBinding == null || Bindings.isVoidType(returnTypeBinding);
isVoid= returnTypeBinding != null && Bindings.isVoidType(returnTypeBinding);
	private void markReferences() {		fCatchedExceptions= new ArrayList();		boolean isVoid= true;		Type returnType= fMethodDeclaration.getReturnType2();		if (returnType != null) {			ITypeBinding returnTypeBinding= returnType.resolveBinding();			isVoid= returnTypeBinding == null || Bindings.isVoidType(returnTypeBinding);		}		fMethodDeclaration.accept(this);		Block block= fMethodDeclaration.getBody();		if (block != null) {			List statements= block.statements();			if (statements.size() > 0) {				Statement last= (Statement)statements.get(statements.size() - 1);				int maxVariableId= LocalVariableIndex.perform(fMethodDeclaration);				FlowContext flowContext= new FlowContext(0, maxVariableId + 1);				flowContext.setConsiderAccessMode(false);				flowContext.setComputeMode(FlowContext.ARGUMENTS);				InOutFlowAnalyzer flowAnalyzer= new InOutFlowAnalyzer(flowContext);				FlowInfo info= flowAnalyzer.perform(new ASTNode[] {last});				if (!info.isNoReturn() && !isVoid) {					if (!info.isPartialReturn())						return;				}			}			SimpleName name= fAST.newSimpleName("x"); //$NON-NLS-1$			name.setSourceRange(fMethodDeclaration.getStartPosition() + fMethodDeclaration.getLength() - 1, 1);			fResult.add(name);		}	}