Initial import of ADIF API reverse-engineering toolkit

This commit is contained in:
2025-12-16 08:37:56 +01:00
commit 60388529c1
11486 changed files with 1086536 additions and 0 deletions

View File

@@ -0,0 +1,53 @@
package dagger.hilt.android.flags;
import android.content.Context;
import dagger.Module;
import dagger.hilt.EntryPoint;
import dagger.hilt.InstallIn;
import dagger.hilt.android.EntryPointAccessors;
import dagger.hilt.components.SingletonComponent;
import dagger.hilt.internal.Preconditions;
import dagger.multibindings.Multibinds;
import java.lang.annotation.ElementType;
import java.lang.annotation.Target;
import java.util.Set;
import javax.inject.Qualifier;
/* loaded from: classes3.dex */
public final class FragmentGetContextFix {
@Target({ElementType.METHOD, ElementType.PARAMETER, ElementType.FIELD})
@Qualifier
/* loaded from: classes3.dex */
public @interface DisableFragmentGetContextFix {
}
@EntryPoint
@InstallIn({SingletonComponent.class})
/* loaded from: classes3.dex */
public interface FragmentGetContextFixEntryPoint {
@DisableFragmentGetContextFix
Set<Boolean> getDisableFragmentGetContextFix();
}
@Module
@InstallIn({SingletonComponent.class})
/* loaded from: classes3.dex */
public static abstract class FragmentGetContextFixModule {
@DisableFragmentGetContextFix
@Multibinds
public abstract Set<Boolean> disableFragmentGetContextFix();
}
private FragmentGetContextFix() {
}
public static boolean isFragmentGetContextFixDisabled(Context context) {
Set<Boolean> disableFragmentGetContextFix = ((FragmentGetContextFixEntryPoint) EntryPointAccessors.fromApplication(context, FragmentGetContextFixEntryPoint.class)).getDisableFragmentGetContextFix();
Preconditions.checkState(disableFragmentGetContextFix.size() <= 1, "Cannot bind the flag @DisableFragmentGetContextFix more than once.", new Object[0]);
if (disableFragmentGetContextFix.isEmpty()) {
return true;
}
return disableFragmentGetContextFix.iterator().next().booleanValue();
}
}

View File

@@ -0,0 +1,14 @@
package dagger.hilt.android.flags;
import dagger.Module;
import dagger.hilt.InstallIn;
import dagger.hilt.android.flags.FragmentGetContextFix;
import dagger.hilt.codegen.OriginatingElement;
import dagger.hilt.components.SingletonComponent;
@OriginatingElement(topLevelClass = FragmentGetContextFix.class)
@Module(includes = {FragmentGetContextFix.FragmentGetContextFixModule.class})
@InstallIn({SingletonComponent.class})
/* loaded from: classes3.dex */
public final class HiltWrapper_FragmentGetContextFix_FragmentGetContextFixModule {
}