Uberspect$ArithmeticUberspect.smali

.class public Lorg/apache/commons/jexl3/internal/introspection/Uberspect$ArithmeticUberspect;
.super Ljava/lang/Object;
.source "SourceFile"

# interfaces
.implements Lorg/apache/commons/jexl3/JexlArithmetic$Uberspect;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lorg/apache/commons/jexl3/internal/introspection/Uberspect;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x1
    name = "ArithmeticUberspect"
.end annotation


# instance fields
.field private final arithmetic:Lorg/apache/commons/jexl3/JexlArithmetic;

.field private final overloads:Ljava/util/Set;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/Set<",
            "Lorg/apache/commons/jexl3/JexlOperator;",
            ">;"
        }
    .end annotation
.end field

.field public final synthetic this$0:Lorg/apache/commons/jexl3/internal/introspection/Uberspect;


# direct methods
.method private constructor <init>(Lorg/apache/commons/jexl3/internal/introspection/Uberspect;Lorg/apache/commons/jexl3/JexlArithmetic;Ljava/util/Set;)V
    .registers 4
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Lorg/apache/commons/jexl3/JexlArithmetic;",
            "Ljava/util/Set<",
            "Lorg/apache/commons/jexl3/JexlOperator;",
            ">;)V"
        }
    .end annotation

    .line 2
    iput-object p1, p0, Lorg/apache/commons/jexl3/internal/introspection/Uberspect$ArithmeticUberspect;->this$0:Lorg/apache/commons/jexl3/internal/introspection/Uberspect;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    .line 3
    iput-object p2, p0, Lorg/apache/commons/jexl3/internal/introspection/Uberspect$ArithmeticUberspect;->arithmetic:Lorg/apache/commons/jexl3/JexlArithmetic;

    .line 4
    iput-object p3, p0, Lorg/apache/commons/jexl3/internal/introspection/Uberspect$ArithmeticUberspect;->overloads:Ljava/util/Set;

    return-void
.end method

.method public synthetic constructor <init>(Lorg/apache/commons/jexl3/internal/introspection/Uberspect;Lorg/apache/commons/jexl3/JexlArithmetic;Ljava/util/Set;Lorg/apache/commons/jexl3/internal/introspection/Uberspect$1;)V
    .registers 5

    .line 1
    invoke-direct {p0, p1, p2, p3}, Lorg/apache/commons/jexl3/internal/introspection/Uberspect$ArithmeticUberspect;-><init>(Lorg/apache/commons/jexl3/internal/introspection/Uberspect;Lorg/apache/commons/jexl3/JexlArithmetic;Ljava/util/Set;)V

    return-void
.end method


# virtual methods
.method public varargs getOperator(Lorg/apache/commons/jexl3/JexlOperator;[Ljava/lang/Object;)Lorg/apache/commons/jexl3/introspection/JexlMethod;
    .registers 5

    iget-object v0, p0, Lorg/apache/commons/jexl3/internal/introspection/Uberspect$ArithmeticUberspect;->overloads:Ljava/util/Set;

    invoke-interface {v0, p1}, Ljava/util/Set;->contains(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_17

    if-eqz p2, :cond_17

    iget-object v0, p0, Lorg/apache/commons/jexl3/internal/introspection/Uberspect$ArithmeticUberspect;->this$0:Lorg/apache/commons/jexl3/internal/introspection/Uberspect;

    iget-object v1, p0, Lorg/apache/commons/jexl3/internal/introspection/Uberspect$ArithmeticUberspect;->arithmetic:Lorg/apache/commons/jexl3/JexlArithmetic;

    invoke-virtual {p1}, Lorg/apache/commons/jexl3/JexlOperator;->getMethodName()Ljava/lang/String;

    move-result-object p1

    invoke-virtual {v0, v1, p1, p2}, Lorg/apache/commons/jexl3/internal/introspection/Uberspect;->getMethod(Ljava/lang/Object;Ljava/lang/String;[Ljava/lang/Object;)Lorg/apache/commons/jexl3/introspection/JexlMethod;

    move-result-object p1

    goto :goto_18

    :cond_17
    const/4 p1, 0x0

    :goto_18
    return-object p1
.end method

.method public overloads(Lorg/apache/commons/jexl3/JexlOperator;)Z
    .registers 3

    iget-object v0, p0, Lorg/apache/commons/jexl3/internal/introspection/Uberspect$ArithmeticUberspect;->overloads:Ljava/util/Set;

    invoke-interface {v0, p1}, Ljava/util/Set;->contains(Ljava/lang/Object;)Z

    move-result p1

    return p1
.end method