Skip to content

Adding android.os.RemoteCallbackList$Builder$InterfaceDiedCallback to the list of classes to be avoided, it is still reflected and only the methods using it are removed. #750

@masesdevelopers

Description

@masesdevelopers

Adding android.os.RemoteCallbackList$Builder$InterfaceDiedCallback to the list of classes to be avoided, it is still reflected and only the methods using it are removed. Looking at the code the class reports the following compilation error:

                /// <summary>
                /// Converter from <see cref="Android.Os.RemoteCallbackList.Builder.InterfaceDiedCallback{E}"/> to <see cref="Android.Os.RemoteCallbackList.Builder.InterfaceDiedCallback"/>
                /// </summary>
                public static implicit operator Android.Os.RemoteCallbackList.Builder.InterfaceDiedCallback(Android.Os.RemoteCallbackList.Builder.InterfaceDiedCallback<E> t) => t.Cast<Android.Os.RemoteCallbackList.Builder.InterfaceDiedCallback>();

which was expected to be absent due to avoidance request for the class.

The problem here are dual:

  • the class is not used in methods, but it is reflected in any case
  • the operator is not created in the right way reporting: User-defined conversion must convert to or from the enclosing type

The class generation of JNetReflector shall be reviewed when this conditions are encountered, an issue will be opened on JNet.

Originally posted by @masesdevelopers in masesgroup/netdroid#182 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    JNetReflectorJNetReflector related issuebugSomething isn't working

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions