Skip to content

Standardize usage of final classes, private constructors, @SuppressWarnings, and @ApiStatus #10

@Trikzon

Description

@Trikzon

After the cosmetics pr is complete, we should standardize the uses of these language features.

Final Classes

I'm for removing all our final class uses. It's pointless to use imo.

Private constructors

I think that all of our static-only method classes should have a private no argument constructor.

@SuppressWarnings

I usually don't ever use these, so I'd like feedback on how we should standardize its usage. Right now it feels like @andantedevs is adding them kinda at random rather than every time they could be used.

@ApiStatus

I think we should take full use of this annotation. I think it might break compatibility with non-jetbrains editors, but I'm not too worried for that tbh

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