class RuboCop::Cop::Sorbet::ForbidTStruct::Property

def initialize(node, kind, name, type, default:, factory:)

def initialize(node, kind, name, type, default:, factory:)
  @node = node
  @kind = kind
  @name = name
  @type = type
  @default = default
  @factory = factory
  # A T::Struct should have both a default and a factory, if we find one let's raise an error
  raise if @default && @factory
end