Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add annotation to allow types be declared as abstract or concrete #9

Open
christianhujer opened this issue Mar 12, 2020 · 0 comments
Open

Comments

@christianhujer
Copy link
Member

Regarding dependency management, the default behavior to treat technically abstract types such as interfaces, annotations, and abstract classes as abstract, and concrete classes, enums, and records as concrete is not always matching the effect that classes have on maintainability.

  • Abstract classes and interfaces should not count as 100% abstract. They may define behavior, and there should be an option to determine their abstractness.
  • POJOs and enums can be without behavior and thus be treated as abstract from a dependency management perspective.

Probably, the term abstract should go altogether and be replaced with the term stable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant