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)