Skip to content

Static Inner Classes and Entity interface #220

Closed
@beoliver

Description

@beoliver

Following on from #215
As @christian-lechner mentioned, "Entity classes can also have static inner classes"

#215 (comment)

For example the getStats method on the cursor object returns CursorEntity.Stats

As static inner classes do not have access to their outer class, it is currently not possible to tell if such a class is an Entity or entity like

As the Entity interface is only used so that the entity classes have a superclass that is not Object it would make sense to make the static inner classes also implement Entity

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions