8000 [LML] Resolve LmlActor annotation value from field name · Issue #65 · czyzby/gdx-lml · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
This repository was archived by the owner on May 27, 2021. It is now read-only.
This repository was archived by the owner on May 27, 2021. It is now read-only.
[LML] Resolve LmlActor annotation value from field name #65
Open
@metaphore

Description

@metaphore

I feel like I might be missing something, but still I don't see any reason against this approach.

If there is no value specified for LmlActor annotation, it could be resolved implicitly from related field name, e.g. @LmlActor Button button; = @LmlActor("button") Button button;.

This might be not universal since, value is array and annotation may be assigned to collection field type. But I see singular widget declaration as a general case and duplicating field name most of the time makes code cumbersome.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0