package de.dhbwstuttgart.syntaxtree; import de.dhbwstuttgart.syntaxtree.type.RefTypeOrTPH; import org.antlr.v4.runtime.Token; import java.util.List; public class Field extends GTVDeclarationContext implements Generic { private String name; private RefTypeOrTPH type; private GenericDeclarationList genericParameters; public Field(String name, RefTypeOrTPH type, int modifier, Token offset){ super(offset); this.name = name; this.type = type; } public String getName(){ return this.name; } public RefTypeOrTPH getType() { return type; } }