package strucTypes2; import java.util.ArrayList; import java.util.List; import de.dhbwstuttgart.syntaxtree.ClassOrInterface; import de.dhbwstuttgart.syntaxtree.Field; import de.dhbwstuttgart.syntaxtree.Method; import de.dhbwstuttgart.syntaxtree.SourceFile; public class FindAssumptions { public static void generateFieldAssumptions(ClassOrInterface cl) { List res = new ArrayList(); for (Field f : cl.getFieldDecl()) { res.add(new Assumption_Field(f.getType(), f)); } } public static void generateMethodAssumptions(ClassOrInterface cl) { List res = new ArrayList(); for (Method m : cl.getMethods() ) { //res.add(new Assumption_Method()); } } public static void generateArgumentAssumptions() { } }