Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Mono.Android] remove obsoleted annotation-related metadata. #1303

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
165 changes: 0 additions & 165 deletions src/Mono.Android/metadata
Original file line number Diff line number Diff line change
Expand Up @@ -576,171 +576,6 @@
</add-node>
<move-node path="/api/package[@name='android.app']/class[@name='IntentService']">/api/package[@name='mono.android.app']</move-node>

<!-- FIXME: they should be removed in 5.0 API -->
<add-node api-since="16" path="/api/package[@name='android.annotation']">
<class abstract="true" deprecated="Use ISuppressLint interface instead" final="false" name="SuppressLint" static="false" visibility="public">
<implements name="java.lang.annotation.Annotation" name-generic-aware="java.lang.annotation.Annotation">
</implements>
<method abstract="true" deprecated="not deprecated" final="false" name="value" native="false" return="java.lang.String[]" static="false" synchronized="false" visibility="public">
</method>
</class>
<class abstract="true" deprecated="Use ITargetApi interface instead" final="false" name="TargetApi" static="false" visibility="public">
<implements name="java.lang.annotation.Annotation" name-generic-aware="java.lang.annotation.Annotation">
</implements>
<method abstract="true" deprecated="not deprecated" final="false" name="value" native="false" return="int" static="false" synchronized="false" visibility="public">
</method>
</class>
</add-node>
<add-node path="/api/package[@name='android.test']">
<class abstract="true" deprecated="Use IFlakyTest interface instead" final="false" name="FlakyTest" static="false" visibility="public">
<implements name="java.lang.annotation.Annotation" name-generic-aware="java.lang.annotation.Annotation">
</implements>
<method abstract="true" deprecated="not deprecated" final="false" name="tolerance" native="false" return="int" static="false" synchronized="false" visibility="public">
</method>
</class>
<class abstract="true" deprecated="Use IUiThreadTest interface instead" final="false" name="UiThreadTest" static="false" visibility="public">
<implements name="java.lang.annotation.Annotation" name-generic-aware="java.lang.annotation.Annotation">
</implements>
</class>
</add-node>
<add-node path="/api/package[@name='android.test.suitebuilder.annotation']">
<class abstract="true" deprecated="Use ILargeTest interface instead" final="false" name="LargeTest" static="false" visibility="public">
<implements name="java.lang.annotation.Annotation" name-generic-aware="java.lang.annotation.Annotation">
</implements>
</class>
<class abstract="true" deprecated="Use IMediumTest interface instead" final="false" name="MediumTest" static="false" visibility="public">
<implements name="java.lang.annotation.Annotation" name-generic-aware="java.lang.annotation.Annotation">
</implements>
</class>
<class abstract="true" deprecated="Use ISmallTest interface instead" final="false" name="SmallTest" static="false" visibility="public">
<implements name="java.lang.annotation.Annotation" name-generic-aware="java.lang.annotation.Annotation">
</implements>
</class>
<class abstract="true" deprecated="Use ISmoke interface instead" final="false" name="Smoke" static="false" visibility="public">
<implements name="java.lang.annotation.Annotation" name-generic-aware="java.lang.annotation.Annotation">
</implements>
</class>
<class abstract="true" deprecated="Use ISuppress interface instead" final="false" name="Suppress" static="false" visibility="public">
<implements name="java.lang.annotation.Annotation" name-generic-aware="java.lang.annotation.Annotation">
</implements>
</class>
</add-node>
<add-node path="/api/package[@name='android.view']">
<class abstract="true" deprecated="Use ViewDebug.ICapturedViewProperty interface instead" final="false" name="ViewDebug.CapturedViewProperty" static="true" visibility="public">
<implements name="java.lang.annotation.Annotation" name-generic-aware="java.lang.annotation.Annotation">
</implements>
<method abstract="true" deprecated="not deprecated" final="false" name="retrieveReturn" native="false" return="boolean" static="false" synchronized="false" visibility="public">
</method>
</class>
<class abstract="true" deprecated="Use ViewDebug.IExportedProperty interface instead" final="false" name="ViewDebug.ExportedProperty" static="true" visibility="public">
<implements name="java.lang.annotation.Annotation" name-generic-aware="java.lang.annotation.Annotation">
</implements>
<method abstract="true" deprecated="not deprecated" final="false" name="category" native="false" return="java.lang.String" static="false" synchronized="false" visibility="public">
</method>
<method abstract="true" deprecated="not deprecated" final="false" name="deepExport" native="false" return="boolean" static="false" synchronized="false" visibility="public">
</method>
<method abstract="true" deprecated="not deprecated" final="false" name="flagMapping" native="false" return="android.view.ViewDebug.FlagToString[]" static="false" synchronized="false" visibility="public">
</method>
<method abstract="true" deprecated="not deprecated" final="false" name="indexMapping" native="false" return="android.view.ViewDebug.IntToString[]" static="false" synchronized="false" visibility="public">
</method>
<method abstract="true" deprecated="not deprecated" final="false" name="mapping" native="false" return="android.view.ViewDebug.IntToString[]" static="false" synchronized="false" visibility="public">
</method>
<method abstract="true" deprecated="not deprecated" final="false" name="prefix" native="false" return="java.lang.String" static="false" synchronized="false" visibility="public">
</method>
<method abstract="true" deprecated="not deprecated" final="false" name="resolveId" native="false" return="boolean" static="false" synchronized="false" visibility="public">
</method>
</class>
<class abstract="true" deprecated="Use ViewDebug.FlagToString interface instead" final="false" name="ViewDebug.FlagToString" static="true" visibility="public">
<implements name="java.lang.annotation.Annotation" name-generic-aware="java.lang.annotation.Annotation">
</implements>
<method abstract="true" deprecated="not deprecated" final="false" name="equals" native="false" return="int" static="false" synchronized="false" visibility="public">
</method>
<method abstract="true" deprecated="not deprecated" final="false" name="mask" native="false" return="int" static="false" synchronized="false" visibility="public">
</method>
<method abstract="true" deprecated="not deprecated" final="false" name="name" native="false" return="java.lang.String" static="false" synchronized="false" visibility="public">
</method>
<method abstract="true" deprecated="not deprecated" final="false" name="outputIf" native="false" return="boolean" static="false" synchronized="false" visibility="public">
</method>
</class>
<class abstract="true" deprecated="Use ViewDebug.IIntToString interface instead" final="false" name="ViewDebug.IntToString" static="true" visibility="public">
<implements name="java.lang.annotation.Annotation" name-generic-aware="java.lang.annotation.Annotation">
</implements>
<method abstract="true" deprecated="not deprecated" final="false" name="from" native="false" return="int" static="false" synchronized="false" visibility="public">
</method>
<method abstract="true" deprecated="not deprecated" final="false" name="to" native="false" return="java.lang.String" static="false" synchronized="false" visibility="public">
</method>
</class>
</add-node>
<add-node path="/api/package[@name='android.webkit']">
<class abstract="true" deprecated="Use IJavascriptInterface interface instead" final="false" name="JavascriptInterface" static="false" visibility="public">
<implements name="java.lang.annotation.Annotation" name-generic-aware="java.lang.annotation.Annotation">
</implements>
</class>
</add-node>
<add-node path="/api/package[@name='android.widget']">
<class abstract="true" deprecated="Use RemoteViews.IRemoteView interface instead" final="false" name="RemoteViews.RemoteView" static="true" visibility="public">
<implements name="java.lang.annotation.Annotation" name-generic-aware="java.lang.annotation.Annotation">
</implements>
</class>
</add-node>
<add-node path="/api/package[@name='dalvik.annotation']">
<class abstract="true" deprecated="deprecated" final="false" name="TestTarget" static="false" visibility="public">
<implements name="java.lang.annotation.Annotation" name-generic-aware="java.lang.annotation.Annotation">
</implements>
<method abstract="true" deprecated="not deprecated" final="false" name="conceptName" native="false" return="java.lang.String" static="false" synchronized="false" visibility="public">
</method>
<method abstract="true" deprecated="not deprecated" final="false" name="methodArgs" native="false" return="java.lang.Class&lt;?>[]" static="false" synchronized="false" visibility="public">
</method>
<method abstract="true" deprecated="not deprecated" final="false" name="methodName" native="false" return="java.lang.String" static="false" synchronized="false" visibility="public">
</method>
</class>
<class abstract="true" deprecated="deprecated" final="false" name="TestTargetClass" static="false" visibility="public">
<implements name="java.lang.annotation.Annotation" name-generic-aware="java.lang.annotation.Annotation">
</implements>
<method abstract="true" deprecated="not deprecated" final="false" name="value" native="false" return="java.lang.Class&lt;?>" static="false" synchronized="false" visibility="public">
</method>
</class>
</add-node>
<add-node path="/api/package[@name='java.lang']">
<class abstract="true" deprecated="Use IDeprecated interface instead" final="false" name="Deprecated" static="false" visibility="public">
<implements name="java.lang.annotation.Annotation" name-generic-aware="java.lang.annotation.Annotation">
</implements>
</class>
<class abstract="true" deprecated="Use IOverride interface instead" final="false" name="Override" static="false" visibility="public">
<implements name="java.lang.annotation.Annotation" name-generic-aware="java.lang.annotation.Annotation">
</implements>
</class>
<class abstract="true" deprecated="Use ISuppressWarnings interface instead" final="false" name="SuppressWarnings" static="false" visibility="public">
<implements name="java.lang.annotation.Annotation" name-generic-aware="java.lang.annotation.Annotation">
</implements>
<method abstract="true" deprecated="not deprecated" final="false" name="value" native="false" return="java.lang.String[]" static="false" synchronized="false" visibility="public">
</method>
</class>
</add-node>
<add-node path="/api/package[@name='java.lang.annotation']">
<class abstract="true" deprecated="Use IDocumented interface instead" final="false" name="Documented" static="false" visibility="public">
<implements name="java.lang.annotation.Annotation" name-generic-aware="java.lang.annotation.Annotation">
</implements>
</class>
<class abstract="true" deprecated="Use IInherited interface instead" final="false" name="Inherited" static="false" visibility="public">
<implements name="java.lang.annotation.Annotation" name-generic-aware="java.lang.annotation.Annotation">
</implements>
</class>
<class abstract="true" deprecated="Use IRetention interface instead" final="false" name="Retention" static="false" visibility="public">
<implements name="java.lang.annotation.Annotation" name-generic-aware="java.lang.annotation.Annotation">
</implements>
<method abstract="true" deprecated="not deprecated" final="false" name="value" native="false" return="java.lang.annotation.RetentionPolicy" static="false" synchronized="false" visibility="public">
</method>
</class>
<class abstract="true" deprecated="Use ITarget interface instead" final="false" name="Target" static="false" visibility="public">
<implements name="java.lang.annotation.Annotation" name-generic-aware="java.lang.annotation.Annotation">
</implements>
<method abstract="true" deprecated="not deprecated" final="false" name="value" native="false" return="java.lang.annotation.ElementType[]" static="false" synchronized="false" visibility="public">
</method>
</class>
</add-node>
<!-- end of annotations -->

<!--
This is hack with related to AdapterView inheritance ...
-->
Expand Down