package abstractSyntaxTree.Class; import TypeCheck.TypeCheckResult; import org.objectweb.asm.ClassWriter; import org.objectweb.asm.TypeReference; import java.util.HashMap; import java.util.List; public interface IClass { // visit method for code generation TypeCheckResult typeCheck(HashMap>>> methodContext, HashMap> typeContext, List fieldsOrMethods) throws Exception; void codeGen(ClassWriter cw) throws Exception; }