public BaseType(Token.AbstractToken token, List<String> sampleStrs) { this.sampleStrs = sampleStrs; this.tokenClassIdentifier = token.getClassId(); this.tokenParameter = token.getParameter(); this.schema = computeAvroSchema(); }