package abstractSyntaxTree.Class; import TypeCheck.TypeCheckResult; import abstractSyntaxTree.Program; import java.util.HashMap; import java.util.List; public class MethodDecl implements IClass { private Program program; private HashMap localVars; public MethodDecl(Program program){ this.program = program; } public TypeCheckResult typeCheck(List fieldsOrMethods) throws Exception { return null; // write localvars // write method table } }