Skip to content

Exclude companion object #328

Open
Open
@gvolpe

Description

@gvolpe

Hi, I'm wondering whether it is possible to exclude a companion object?

Given:

object Animal {
  def apply: Animal = ???
}

class Animal {
  ???
}

Is it possible just to exclude the object Animal and not the class? I can't make it work with the exclusion rules.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions