今奥全景相机
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.

98 lines
2.4 KiB

.class public Ljavax/annotation/MatchesPattern$Checker;
.super Ljava/lang/Object;
.source "MatchesPattern.java"
# interfaces
.implements Ljavax/annotation/meta/TypeQualifierValidator;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Ljavax/annotation/MatchesPattern;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x9
name = "Checker"
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/lang/Object;",
"Ljavax/annotation/meta/TypeQualifierValidator",
"<",
"Ljavax/annotation/MatchesPattern;",
">;"
}
.end annotation
# direct methods
.method public constructor <init>()V
.locals 0
.prologue
.line 21
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public bridge synthetic forConstantValue(Ljava/lang/annotation/Annotation;Ljava/lang/Object;)Ljavax/annotation/meta/When;
.locals 1
.prologue
.line 21
check-cast p1, Ljavax/annotation/MatchesPattern;
invoke-virtual {p0, p1, p2}, Ljavax/annotation/MatchesPattern$Checker;->forConstantValue(Ljavax/annotation/MatchesPattern;Ljava/lang/Object;)Ljavax/annotation/meta/When;
move-result-object v0
return-object v0
.end method
.method public forConstantValue(Ljavax/annotation/MatchesPattern;Ljava/lang/Object;)Ljavax/annotation/meta/When;
.locals 2
.prologue
.line 23
invoke-interface {p1}, Ljavax/annotation/MatchesPattern;->value()Ljava/lang/String;
move-result-object v0
invoke-interface {p1}, Ljavax/annotation/MatchesPattern;->flags()I
move-result v1
invoke-static {v0, v1}, Ljava/util/regex/Pattern;->compile(Ljava/lang/String;I)Ljava/util/regex/Pattern;
move-result-object v0
.line 24
check-cast p2, Ljava/lang/String;
invoke-virtual {v0, p2}, Ljava/util/regex/Pattern;->matcher(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher;
move-result-object v0
invoke-virtual {v0}, Ljava/util/regex/Matcher;->matches()Z
move-result v0
if-eqz v0, :cond_0
.line 25
sget-object v0, Ljavax/annotation/meta/When;->ALWAYS:Ljavax/annotation/meta/When;
.line 26
:goto_0
return-object v0
:cond_0
sget-object v0, Ljavax/annotation/meta/When;->NEVER:Ljavax/annotation/meta/When;
goto :goto_0
.end method