Skip to content
This repository has been archived by the owner on Nov 6, 2024. It is now read-only.

Commit

Permalink
metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
moljac committed Aug 17, 2024
1 parent d6cfbb0 commit 60410b5
Show file tree
Hide file tree
Showing 5 changed files with 50 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -592,4 +592,13 @@
protected
</attr>


<attr
path="/api/package[@name='com.google.android.gms.ads.internal.util.client']"
name="managedName"
>
Android.Gms.Ads.Internal.Util.Client
</attr>


</metadata>
Original file line number Diff line number Diff line change
Expand Up @@ -104,4 +104,11 @@
<attr path="/api/package[@name='com.google.ads.mediation']/interface[@name='MediationInterstitialListener']/method[@name='onDismissScreen']/parameter[1]" name="managedName">adapter</attr>
<attr path="/api/package[@name='com.google.ads.mediation']/interface[@name='MediationInterstitialListener']/method[@name='onLeaveApplication']/parameter[1]" name="managedName">adapter</attr>

<attr
path="/api/package[@name='com.google.android.gms.ads.nonagon.util.logging.csi']"
name="managedName"
>
Google.Ads.Nonagon.Util.Logging.Csi
</attr>

</metadata>
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,11 @@
>
Android.Gms.Auth.Managed.Blockstore.RestoreCredential
</attr>
<attr
path="/api/package[@name='com.google.android.gms.auth.blockstore.restorecredential.internal']"
name="managedName"
>
Android.Gms.Auth.Managed.Blockstore.RestoreCredential.Internal
</attr>

</metadata>
9 changes: 0 additions & 9 deletions source/com.google.dagger/dagger/Additions/Additions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,4 @@ partial class ProviderOfLazy
return Lazy as Java.Lang.Object;
}
}

partial class MapProviderFactory : global::Dagger.ILazy, global::Dagger.Internal.IFactory
{
// This method is explicitly implemented as a member of an instantiated Dagger.ILazy
public global::Java.Lang.Object Get()
{
return Dictionary as global::Java.Lang.Object;
}
}
}
29 changes: 27 additions & 2 deletions source/com.google.dagger/dagger/Transforms/Metadata.xml
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<metadata>
<attr path="/api/package[@name='dagger.internal']/class[@name='MapFactory']/method[@name='get' and count(parameter)=0]" name="managedName">GetDictionary</attr>
<attr path="/api/package[@name='dagger.internal']/class[@name='MapFactory']/method[@name='get' and count(parameter)=0]" name="managedName">GetDictionary</attr>
<attr path="/api/package[@name='dagger.internal']/class[@name='MapProviderFactory']/method[@name='get' and count(parameter)=0]" name="managedName">GetDictionary</attr>
<attr path="/api/package[@name='dagger.internal']/class[@name='SetFactory']/method[@name='get' and count(parameter)=0]" name="managedName">GetCollection</attr>
<attr path="/api/package[@name='dagger.internal']/class[@name='ProviderOfLazy']/method[@name='get' and count(parameter)=0]" name="managedName">GetLazy</attr>


<!--
<remove-node path="/api/package[@name='dagger.internal']/class[@name='MapProviderFactory']/implements" />
<remove-node
Expand All @@ -15,5 +18,27 @@
<remove-node
path="/api/package[@name='dagger.internal']/class[@name='LazyClassKeyMap']"
/>

-->
<remove-node
path="/api/package[@name='dagger.internal']/class[@name='DoubleCheck']"
/>
<remove-node
path="/api/package[@name='dagger.internal']/class[@name='SingleCheck']"
/>
<attr
path="/api/package[@name='dagger.internal']/class[@name='LazyClassKeyMap']/method[@name='entrySet' and count(parameter)=0]"
name="managedReturn"
>
System.Collections.ICollection
</attr>
<remove-node
path="/api/package[@name='dagger.internal']/class[@name='LazyClassKeyMap']"
/>
<remove-node
path="/api/package[@name='dagger.internal']/class[@name='MapProviderFactory']"
/>
<remove-node
path="/api/package[@name='dagger.internal']/interface[@name='Provider']"
/>

</metadata>

0 comments on commit 60410b5

Please sign in to comment.