Skip to content

Mark (commonly used) Java methods NotNull/Nullable #1490

Open
@madsboddum

Description

@madsboddum

Return values and method arguments for Java code. Cover common classes such as Player and CreatureObject, so we can reduce the likelihood of NullPointerExceptions.
Player#getCreatureObject
Player#getPlayerObject

This will also help with the Kotlin conversion somewhat, as we're required to be explicit about nullability there.

These changes alone will result in a big diff, so definitely try to keep the changes simple.

Metadata

Metadata

Assignees

No one assigned

    Labels

    IMPROVEMENTEnhancement of an existing feature[Common Player] ServiceMost common services for the player

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions