if (target != null) { proposals.add(getSuppressWarningsProposal(context.getCompilationUnit(), target, warningToken, 0)); }
} if (target instanceof BodyDeclaration) { proposals.add(getSuppressWarningsProposal(context.getCompilationUnit(), target, warningToken, -3));
	public static void addSuppressWarningsProposals(IInvocationContext context, IProblemLocation problem, Collection proposals) {		if (problem.isError()) {			return;		}		String warningToken= CorrectionEngine.getWarningToken(problem.getProblemId());		if (warningToken == null) {			return;		}		for (Iterator iter= proposals.iterator(); iter.hasNext();) {			Object element= iter.next();			if (element instanceof ICommandAccess && ADD_SUPPRESSWARNINGS_ID.equals(((ICommandAccess) element).getCommandId())) {				return; // only one at a time			}		}				ASTNode node= context.getCoveringNode();				ASTNode target= getParentAnnotationHolder(node);		if (target == null) {			return;		}		proposals.add(getSuppressWarningsProposal(context.getCompilationUnit(), target, warningToken, 1));			if (!(target instanceof BodyDeclaration)) {			target= getParentAnnotationHolder(target.getParent());			if (target != null) {				proposals.add(getSuppressWarningsProposal(context.getCompilationUnit(), target, warningToken, 0));			}		}	}