private void generatePostcondition(ProcessingContextInformation processingContextInformation, ClassNode classNode, MethodNode methodNode) {
if (!processingContextInformation.isPostconditionsEnabled()) return;
if (!CandidateChecks.isPostconditionCandidate(classNode, methodNode)) return;
final PostconditionGenerator postconditionGenerator = new PostconditionGenerator(processingContextInformation.readerSource());
if (!(methodNode instanceof ConstructorNode) && AnnotationUtils.getAnnotationNodeInHierarchyWithMetaAnnotation(classNode, methodNode, ClassHelper.makeWithoutCaching(Postcondition.class)).size() > 0) {
postconditionGenerator.generateDefaultPostconditionStatement(classNode, methodNode);
} else {
postconditionGenerator.generateDefaultPostconditionStatement(classNode, methodNode);
}
}