package abstractSyntaxTree.Class; import TypeCheck.TypeCheckResult; import java.util.HashMap; import java.util.List; public class MethodDecl implements IClass { public String classThatContainsMethod; public String name; public List parameters; public String returnType; //TODO: Move this into the typeCheck private HashMap localVars; // (type, identifier) // add content here public TypeCheckResult typeCheck(HashMap>> methodContext, HashMap> typeContext, List fieldsOrMethods) throws Exception { // write localvars // jede methode als block statement aufrufen return null; } }