Skip to content
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.

Faulty import statement generated #2283

@krischik

Description

@krischik

AndroidAnnotations version:

4.7.0

Android compile SDK version:

30

Annotated code:

   @org.androidannotations.annotations.FragmentById (R.id.Main_Fragment)
   @org.jetbrains.annotations.Nullable
   protected MainFragment mainFragment;

Expected generated code:

import java.util.HashMap;
import java.util.Map;
import com.krischik.fit_import.MainFragment;
import android.app.Activity;
import android.content.Context;

Actual generated code:

import java.util.HashMap;
import java.util.Map;
import(@org.jetbrains.annotations.Nullable :: com.krischik.fit_import.MainFragment);
import android.app.Activity;
import android.content.Context;

Stacktrace in case of AA crash:

N/A

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