@Override public void caseAMethodDeclIR(AMethodDeclIR node) throws AnalysisException { handleMethodOrFunc(node.getBody(), node.getPreCond(), node.getPostCond()); }
SDeclIR postCond = node.getPostCond();
if(node.getPostCond() != null && !_visitedNodes.contains(node.getPostCond())) node.getPostCond().apply(this, question);
if(node.getPostCond() != null && !_visitedNodes.contains(node.getPostCond())) node.getPostCond().apply(this);
if(node.getPostCond() != null && !_visitedNodes.contains(node.getPostCond())) node.getPostCond().apply(this);
if (method.getPostCond() != null) method.getPostCond().apply(this);
if(node.getPostCond() != null && !_visitedNodes.contains(node.getPostCond())) mergeReturns(retVal,node.getPostCond().apply(this, question));
if(node.getPostCond() != null && !_visitedNodes.contains(node.getPostCond())) mergeReturns(retVal,node.getPostCond().apply(this));
SDeclIR postCond = node.getPostCond(); if (postCond instanceof AMethodDeclIR) { AMethodDeclIR postCondMethod = (AMethodDeclIR) postCond;
SDeclIR postCond = method.getPostCond(); AApplyExpIR postCondCall = transAssistant.consConditionalCall(method, (AMethodDeclIR) method.getPostCond()); postCondCall.setTag(conditionalCallTag);
if (m.getPostCond() != null) annotator.makeCondPublic(m.getPostCond()); annotator.appendMetaData(m, consMethodCond(m.getPostCond(), m.getFormalParams(), JML_ENS_ANNOTATION));