Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
This repository was archived by the owner on Feb 26, 2023. It is now read-only.
This repository was archived by the owner on Feb 26, 2023. It is now read-only.

Processing an array of nested annotations #2041

Copy link
Copy link
@trybenko

Description

@trybenko
Issue body actions

This is a template, please adjust it accordingly to your specific issue.

You may also want to read our issue guide.

AndroidAnnotations version: since 3.0.2 and up

Android compile SDK version: 26

Annotated code:

@CustomAnnotation({
        @CustomAnnotationItem(id = 1, value = "one"),
        @CustomAnnotationItem(id = 2, value = "two"),
        @CustomAnnotationItem(id = 3, value = "three")
})
@EActivity
public class MainActivity extends AppCompatActivity {

}

Expected generated code:

@CustomAnnotation({
    @CustomAnnotationItem(id = 1, value = "one"),
    @CustomAnnotationItem(id = 2, value = "two"),
    @CustomAnnotationItem(id = 3, value = "three")
})
public final class MainActivity_
    extends MainActivity
    implements HasViews
{

}

Actual generated code:

@CustomAnnotation({
    @CustomAnnotationItem(id = 1, value = "one")
})
public final class MainActivity_
    extends MainActivity
    implements HasViews
{

}

Stacktrace in case of AA crash:

See attachment for more details:
AndroidAnnotationIssue.zip

Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.