mirror of
https://github.com/Pinball3D/Rabbit-R1.git
synced 2024-12-26 09:02:34 -06:00
106 lines
2.5 KiB
Smali
106 lines
2.5 KiB
Smali
.class public final Lio/sentry/OptionsContainer;
|
|
.super Ljava/lang/Object;
|
|
.source "OptionsContainer.java"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Ljava/lang/Object;",
|
|
">",
|
|
"Ljava/lang/Object;"
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field private final clazz:Ljava/lang/Class;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Ljava/lang/Class<",
|
|
"TT;>;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
|
|
# direct methods
|
|
.method private constructor <init>(Ljava/lang/Class;)V
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Ljava/lang/Class<",
|
|
"TT;>;)V"
|
|
}
|
|
.end annotation
|
|
|
|
.line 17
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
iput-object p1, p0, Lio/sentry/OptionsContainer;->clazz:Ljava/lang/Class;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static create(Ljava/lang/Class;)Lio/sentry/OptionsContainer;
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Ljava/lang/Object;",
|
|
">(",
|
|
"Ljava/lang/Class<",
|
|
"TT;>;)",
|
|
"Lio/sentry/OptionsContainer<",
|
|
"TT;>;"
|
|
}
|
|
.end annotation
|
|
|
|
.line 11
|
|
new-instance v0, Lio/sentry/OptionsContainer;
|
|
|
|
invoke-direct {v0, p0}, Lio/sentry/OptionsContainer;-><init>(Ljava/lang/Class;)V
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public createInstance()Ljava/lang/Object;
|
|
.locals 2
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"()TT;"
|
|
}
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/lang/InstantiationException;,
|
|
Ljava/lang/IllegalAccessException;,
|
|
Ljava/lang/NoSuchMethodException;,
|
|
Ljava/lang/reflect/InvocationTargetException;
|
|
}
|
|
.end annotation
|
|
|
|
iget-object p0, p0, Lio/sentry/OptionsContainer;->clazz:Ljava/lang/Class;
|
|
|
|
const/4 v0, 0x0
|
|
|
|
new-array v1, v0, [Ljava/lang/Class;
|
|
|
|
.line 24
|
|
invoke-virtual {p0, v1}, Ljava/lang/Class;->getDeclaredConstructor([Ljava/lang/Class;)Ljava/lang/reflect/Constructor;
|
|
|
|
move-result-object p0
|
|
|
|
new-array v0, v0, [Ljava/lang/Object;
|
|
|
|
invoke-virtual {p0, v0}, Ljava/lang/reflect/Constructor;->newInstance([Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|