package de.dhbwstuttgart.syntaxtree; import de.dhbwstuttgart.parser.NullToken; import de.dhbwstuttgart.syntaxtree.statement.Statement; import de.dhbwstuttgart.syntaxtree.statement.Super; import de.dhbwstuttgart.syntaxtree.statement.SuperCall; import de.dhbwstuttgart.syntaxtree.type.RefType; import de.dhbwstuttgart.syntaxtree.type.RefTypeOrTPHOrWildcardOrGeneric; import de.dhbwstuttgart.syntaxtree.type.Void; import org.antlr.v4.runtime.Token; import de.dhbwstuttgart.syntaxtree.statement.Block; import java.sql.Ref; import java.util.ArrayList; import java.util.List; import de.dhbwstuttgart.syntaxtree.Method; import de.dhbwstuttgart.syntaxtree.GenericDeclarationList; import de.dhbwstuttgart.syntaxtree.ParameterList; import de.dhbwstuttgart.syntaxtree.ASTVisitor; import java.lang.String; import java.lang.Integer; public class Constructor extends Method { // TODO: Constructor braucht ein super-Statement public Constructor(int modifier, String name, RefTypeOrTPHOrWildcardOrGeneric returnType, ParameterList parameterList, Block codeInsideConstructor, GenericDeclarationList gtvDeclarations, Token offset) { super(modifier, name, returnType, parameterList, codeInsideConstructor, gtvDeclarations, offset); } @Override public void accept(ASTVisitor visitor) { visitor.visit(this); } }