apkfuckery/com.discord/smali/lombok/launch/PatchFixesHider$ExtensionMethod.smali
2019-02-04 21:05:16 +01:00

289 lines
8.6 KiB
Smali

.class public final Llombok/launch/PatchFixesHider$ExtensionMethod;
.super Ljava/lang/Object;
.source "PatchFixesHider.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Llombok/launch/PatchFixesHider;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "ExtensionMethod"
.end annotation
# static fields
.field private static final ERROR_NO_METHOD_FOR:Ljava/lang/reflect/Method;
.field private static final INVALID_METHOD:Ljava/lang/reflect/Method;
.field private static final INVALID_METHOD2:Ljava/lang/reflect/Method;
.field private static final RESOLVE_TYPE:Ljava/lang/reflect/Method;
# direct methods
.method static constructor <clinit>()V
.locals 9
.prologue
const/4 v8, 0x4
const/4 v7, 0x3
const/4 v6, 0x2
const/4 v5, 0x1
const/4 v4, 0x0
const-string v1, "lombok.eclipse.agent.PatchExtensionMethod"
invoke-static {v1}, Llombok/launch/PatchFixesHider$Util;->shadowLoadClass(Ljava/lang/String;)Ljava/lang/Class;
move-result-object v0
.local v0, "shadowed":Ljava/lang/Class;, "Ljava/lang/Class<*>;"
const-string v1, "resolveType"
new-array v2, v7, [Ljava/lang/Class;
const-class v3, Lorg/eclipse/jdt/internal/compiler/lookup/TypeBinding;
aput-object v3, v2, v4
const-class v3, Lorg/eclipse/jdt/internal/compiler/ast/MessageSend;
aput-object v3, v2, v5
const-class v3, Lorg/eclipse/jdt/internal/compiler/lookup/BlockScope;
aput-object v3, v2, v6
invoke-static {v0, v1, v2}, Llombok/launch/PatchFixesHider$Util;->findMethod(Ljava/lang/Class;Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
move-result-object v1
sput-object v1, Llombok/launch/PatchFixesHider$ExtensionMethod;->RESOLVE_TYPE:Ljava/lang/reflect/Method;
const-string v1, "errorNoMethodFor"
new-array v2, v8, [Ljava/lang/Class;
const-class v3, Lorg/eclipse/jdt/internal/compiler/problem/ProblemReporter;
aput-object v3, v2, v4
const-class v3, Lorg/eclipse/jdt/internal/compiler/ast/MessageSend;
aput-object v3, v2, v5
const-class v3, Lorg/eclipse/jdt/internal/compiler/lookup/TypeBinding;
aput-object v3, v2, v6
const-class v3, [Lorg/eclipse/jdt/internal/compiler/lookup/TypeBinding;
aput-object v3, v2, v7
invoke-static {v0, v1, v2}, Llombok/launch/PatchFixesHider$Util;->findMethod(Ljava/lang/Class;Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
move-result-object v1
sput-object v1, Llombok/launch/PatchFixesHider$ExtensionMethod;->ERROR_NO_METHOD_FOR:Ljava/lang/reflect/Method;
const-string v1, "invalidMethod"
new-array v2, v7, [Ljava/lang/Class;
const-class v3, Lorg/eclipse/jdt/internal/compiler/problem/ProblemReporter;
aput-object v3, v2, v4
const-class v3, Lorg/eclipse/jdt/internal/compiler/ast/MessageSend;
aput-object v3, v2, v5
const-class v3, Lorg/eclipse/jdt/internal/compiler/lookup/MethodBinding;
aput-object v3, v2, v6
invoke-static {v0, v1, v2}, Llombok/launch/PatchFixesHider$Util;->findMethod(Ljava/lang/Class;Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
move-result-object v1
sput-object v1, Llombok/launch/PatchFixesHider$ExtensionMethod;->INVALID_METHOD:Ljava/lang/reflect/Method;
const-string v1, "invalidMethod"
new-array v2, v8, [Ljava/lang/Class;
const-class v3, Lorg/eclipse/jdt/internal/compiler/problem/ProblemReporter;
aput-object v3, v2, v4
const-class v3, Lorg/eclipse/jdt/internal/compiler/ast/MessageSend;
aput-object v3, v2, v5
const-class v3, Lorg/eclipse/jdt/internal/compiler/lookup/MethodBinding;
aput-object v3, v2, v6
const-class v3, Lorg/eclipse/jdt/internal/compiler/lookup/Scope;
aput-object v3, v2, v7
invoke-static {v0, v1, v2}, Llombok/launch/PatchFixesHider$Util;->findMethod(Ljava/lang/Class;Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
move-result-object v1
sput-object v1, Llombok/launch/PatchFixesHider$ExtensionMethod;->INVALID_METHOD2:Ljava/lang/reflect/Method;
return-void
.end method
.method public constructor <init>()V
.locals 0
.prologue
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public static errorNoMethodFor(Lorg/eclipse/jdt/internal/compiler/problem/ProblemReporter;Lorg/eclipse/jdt/internal/compiler/ast/MessageSend;Lorg/eclipse/jdt/internal/compiler/lookup/TypeBinding;[Lorg/eclipse/jdt/internal/compiler/lookup/TypeBinding;)V
.locals 3
.param p0, "problemReporter" # Lorg/eclipse/jdt/internal/compiler/problem/ProblemReporter;
.param p1, "messageSend" # Lorg/eclipse/jdt/internal/compiler/ast/MessageSend;
.param p2, "recType" # Lorg/eclipse/jdt/internal/compiler/lookup/TypeBinding;
.param p3, "params" # [Lorg/eclipse/jdt/internal/compiler/lookup/TypeBinding;
.prologue
sget-object v0, Llombok/launch/PatchFixesHider$ExtensionMethod;->ERROR_NO_METHOD_FOR:Ljava/lang/reflect/Method;
const/4 v1, 0x4
new-array v1, v1, [Ljava/lang/Object;
const/4 v2, 0x0
aput-object p0, v1, v2
const/4 v2, 0x1
aput-object p1, v1, v2
const/4 v2, 0x2
aput-object p2, v1, v2
const/4 v2, 0x3
aput-object p3, v1, v2
invoke-static {v0, v1}, Llombok/launch/PatchFixesHider$Util;->invokeMethod(Ljava/lang/reflect/Method;[Ljava/lang/Object;)Ljava/lang/Object;
return-void
.end method
.method public static invalidMethod(Lorg/eclipse/jdt/internal/compiler/problem/ProblemReporter;Lorg/eclipse/jdt/internal/compiler/ast/MessageSend;Lorg/eclipse/jdt/internal/compiler/lookup/MethodBinding;)V
.locals 3
.param p0, "problemReporter" # Lorg/eclipse/jdt/internal/compiler/problem/ProblemReporter;
.param p1, "messageSend" # Lorg/eclipse/jdt/internal/compiler/ast/MessageSend;
.param p2, "method" # Lorg/eclipse/jdt/internal/compiler/lookup/MethodBinding;
.prologue
sget-object v0, Llombok/launch/PatchFixesHider$ExtensionMethod;->INVALID_METHOD:Ljava/lang/reflect/Method;
const/4 v1, 0x3
new-array v1, v1, [Ljava/lang/Object;
const/4 v2, 0x0
aput-object p0, v1, v2
const/4 v2, 0x1
aput-object p1, v1, v2
const/4 v2, 0x2
aput-object p2, v1, v2
invoke-static {v0, v1}, Llombok/launch/PatchFixesHider$Util;->invokeMethod(Ljava/lang/reflect/Method;[Ljava/lang/Object;)Ljava/lang/Object;
return-void
.end method
.method public static invalidMethod(Lorg/eclipse/jdt/internal/compiler/problem/ProblemReporter;Lorg/eclipse/jdt/internal/compiler/ast/MessageSend;Lorg/eclipse/jdt/internal/compiler/lookup/MethodBinding;Lorg/eclipse/jdt/internal/compiler/lookup/Scope;)V
.locals 3
.param p0, "problemReporter" # Lorg/eclipse/jdt/internal/compiler/problem/ProblemReporter;
.param p1, "messageSend" # Lorg/eclipse/jdt/internal/compiler/ast/MessageSend;
.param p2, "method" # Lorg/eclipse/jdt/internal/compiler/lookup/MethodBinding;
.param p3, "scope" # Lorg/eclipse/jdt/internal/compiler/lookup/Scope;
.prologue
sget-object v0, Llombok/launch/PatchFixesHider$ExtensionMethod;->INVALID_METHOD2:Ljava/lang/reflect/Method;
const/4 v1, 0x4
new-array v1, v1, [Ljava/lang/Object;
const/4 v2, 0x0
aput-object p0, v1, v2
const/4 v2, 0x1
aput-object p1, v1, v2
const/4 v2, 0x2
aput-object p2, v1, v2
const/4 v2, 0x3
aput-object p3, v1, v2
invoke-static {v0, v1}, Llombok/launch/PatchFixesHider$Util;->invokeMethod(Ljava/lang/reflect/Method;[Ljava/lang/Object;)Ljava/lang/Object;
return-void
.end method
.method public static resolveType(Lorg/eclipse/jdt/internal/compiler/lookup/TypeBinding;Lorg/eclipse/jdt/internal/compiler/ast/MessageSend;Lorg/eclipse/jdt/internal/compiler/lookup/BlockScope;)Lorg/eclipse/jdt/internal/compiler/lookup/TypeBinding;
.locals 3
.param p0, "resolvedType" # Lorg/eclipse/jdt/internal/compiler/lookup/TypeBinding;
.param p1, "methodCall" # Lorg/eclipse/jdt/internal/compiler/ast/MessageSend;
.param p2, "scope" # Lorg/eclipse/jdt/internal/compiler/lookup/BlockScope;
.prologue
sget-object v0, Llombok/launch/PatchFixesHider$ExtensionMethod;->RESOLVE_TYPE:Ljava/lang/reflect/Method;
const/4 v1, 0x3
new-array v1, v1, [Ljava/lang/Object;
const/4 v2, 0x0
aput-object p0, v1, v2
const/4 v2, 0x1
aput-object p1, v1, v2
const/4 v2, 0x2
aput-object p2, v1, v2
invoke-static {v0, v1}, Llombok/launch/PatchFixesHider$Util;->invokeMethod(Ljava/lang/reflect/Method;[Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v0
check-cast v0, Lorg/eclipse/jdt/internal/compiler/lookup/TypeBinding;
return-object v0
.end method