You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
183 lines
5.0 KiB
183 lines
5.0 KiB
2 years ago
|
.class Lcom/google/common/base/CharMatcher$Or;
|
||
|
.super Lcom/google/common/base/CharMatcher;
|
||
|
.source "CharMatcher.java"
|
||
|
|
||
|
|
||
|
# annotations
|
||
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
||
|
value = Lcom/google/common/base/CharMatcher;
|
||
|
.end annotation
|
||
|
|
||
|
.annotation system Ldalvik/annotation/InnerClass;
|
||
|
accessFlags = 0xa
|
||
|
name = "Or"
|
||
|
.end annotation
|
||
|
|
||
|
|
||
|
# instance fields
|
||
|
.field final first:Lcom/google/common/base/CharMatcher;
|
||
|
|
||
|
.field final second:Lcom/google/common/base/CharMatcher;
|
||
|
|
||
|
|
||
|
# direct methods
|
||
|
.method constructor <init>(Lcom/google/common/base/CharMatcher;Lcom/google/common/base/CharMatcher;)V
|
||
|
.locals 2
|
||
|
|
||
|
.prologue
|
||
|
.line 734
|
||
|
new-instance v0, Ljava/lang/StringBuilder;
|
||
|
|
||
|
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
|
||
|
|
||
|
const-string v1, "CharMatcher.or("
|
||
|
|
||
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
const-string v1, ", "
|
||
|
|
||
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
invoke-virtual {v0, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
const-string v1, ")"
|
||
|
|
||
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
invoke-direct {p0, p1, p2, v0}, Lcom/google/common/base/CharMatcher$Or;-><init>(Lcom/google/common/base/CharMatcher;Lcom/google/common/base/CharMatcher;Ljava/lang/String;)V
|
||
|
|
||
|
.line 735
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
.method constructor <init>(Lcom/google/common/base/CharMatcher;Lcom/google/common/base/CharMatcher;Ljava/lang/String;)V
|
||
|
.locals 1
|
||
|
|
||
|
.prologue
|
||
|
.line 728
|
||
|
invoke-direct {p0, p3}, Lcom/google/common/base/CharMatcher;-><init>(Ljava/lang/String;)V
|
||
|
|
||
|
.line 729
|
||
|
invoke-static {p1}, Lcom/google/common/base/Preconditions;->checkNotNull(Ljava/lang/Object;)Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
check-cast v0, Lcom/google/common/base/CharMatcher;
|
||
|
|
||
|
iput-object v0, p0, Lcom/google/common/base/CharMatcher$Or;->first:Lcom/google/common/base/CharMatcher;
|
||
|
|
||
|
.line 730
|
||
|
invoke-static {p2}, Lcom/google/common/base/Preconditions;->checkNotNull(Ljava/lang/Object;)Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
check-cast v0, Lcom/google/common/base/CharMatcher;
|
||
|
|
||
|
iput-object v0, p0, Lcom/google/common/base/CharMatcher$Or;->second:Lcom/google/common/base/CharMatcher;
|
||
|
|
||
|
.line 731
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
|
||
|
# virtual methods
|
||
|
.method public bridge synthetic apply(Ljava/lang/Object;)Z
|
||
|
.locals 1
|
||
|
|
||
|
.prologue
|
||
|
.line 723
|
||
|
check-cast p1, Ljava/lang/Character;
|
||
|
|
||
|
invoke-super {p0, p1}, Lcom/google/common/base/CharMatcher;->apply(Ljava/lang/Character;)Z
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
return v0
|
||
|
.end method
|
||
|
|
||
|
.method public matches(C)Z
|
||
|
.locals 1
|
||
|
|
||
|
.prologue
|
||
|
.line 746
|
||
|
iget-object v0, p0, Lcom/google/common/base/CharMatcher$Or;->first:Lcom/google/common/base/CharMatcher;
|
||
|
|
||
|
invoke-virtual {v0, p1}, Lcom/google/common/base/CharMatcher;->matches(C)Z
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
if-nez v0, :cond_0
|
||
|
|
||
|
iget-object v0, p0, Lcom/google/common/base/CharMatcher$Or;->second:Lcom/google/common/base/CharMatcher;
|
||
|
|
||
|
invoke-virtual {v0, p1}, Lcom/google/common/base/CharMatcher;->matches(C)Z
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
if-eqz v0, :cond_1
|
||
|
|
||
|
:cond_0
|
||
|
const/4 v0, 0x1
|
||
|
|
||
|
:goto_0
|
||
|
return v0
|
||
|
|
||
|
:cond_1
|
||
|
const/4 v0, 0x0
|
||
|
|
||
|
goto :goto_0
|
||
|
.end method
|
||
|
|
||
|
.method setBits(Ljava/util/BitSet;)V
|
||
|
.locals 1
|
||
|
.annotation build Lcom/google/common/annotations/GwtIncompatible;
|
||
|
value = "java.util.BitSet"
|
||
|
.end annotation
|
||
|
|
||
|
.prologue
|
||
|
.line 740
|
||
|
iget-object v0, p0, Lcom/google/common/base/CharMatcher$Or;->first:Lcom/google/common/base/CharMatcher;
|
||
|
|
||
|
invoke-virtual {v0, p1}, Lcom/google/common/base/CharMatcher;->setBits(Ljava/util/BitSet;)V
|
||
|
|
||
|
.line 741
|
||
|
iget-object v0, p0, Lcom/google/common/base/CharMatcher$Or;->second:Lcom/google/common/base/CharMatcher;
|
||
|
|
||
|
invoke-virtual {v0, p1}, Lcom/google/common/base/CharMatcher;->setBits(Ljava/util/BitSet;)V
|
||
|
|
||
|
.line 742
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
.method withToString(Ljava/lang/String;)Lcom/google/common/base/CharMatcher;
|
||
|
.locals 3
|
||
|
|
||
|
.prologue
|
||
|
.line 751
|
||
|
new-instance v0, Lcom/google/common/base/CharMatcher$Or;
|
||
|
|
||
|
iget-object v1, p0, Lcom/google/common/base/CharMatcher$Or;->first:Lcom/google/common/base/CharMatcher;
|
||
|
|
||
|
iget-object v2, p0, Lcom/google/common/base/CharMatcher$Or;->second:Lcom/google/common/base/CharMatcher;
|
||
|
|
||
|
invoke-direct {v0, v1, v2, p1}, Lcom/google/common/base/CharMatcher$Or;-><init>(Lcom/google/common/base/CharMatcher;Lcom/google/common/base/CharMatcher;Ljava/lang/String;)V
|
||
|
|
||
|
return-object v0
|
||
|
.end method
|