invariants.put(clazz, inv);
}
private static void addInvariantConditions(ArrayList<InvariantCondition> conditions, Class<?> clazz)
{
Invariant inv = (Invariant)AnnotationElement.getAnyAnnotation(clazz, Invariant.class);
if (inv != null)
{
if (DesignByContractAspect.verbose) System.out.println("[dbc] Found non-static invariants in class: " + clazz);
String[] exprs = inv.value();
if (exprs != null)
{
for (int i = 0 ; i < exprs.length ; i++)
{
conditions.add(new InvariantCondition(clazz, exprs[i], false));