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.
96 lines
2.4 KiB
96 lines
2.4 KiB
2 years ago
|
.class public final Lcom/google/common/html/HtmlEscapers;
|
||
|
.super Ljava/lang/Object;
|
||
|
.source "HtmlEscapers.java"
|
||
|
|
||
|
|
||
|
# annotations
|
||
|
.annotation build Lcom/google/common/annotations/Beta;
|
||
|
.end annotation
|
||
|
|
||
|
.annotation build Lcom/google/common/annotations/GwtCompatible;
|
||
|
.end annotation
|
||
|
|
||
|
|
||
|
# static fields
|
||
|
.field private static final HTML_ESCAPER:Lcom/google/common/escape/Escaper;
|
||
|
|
||
|
|
||
|
# direct methods
|
||
|
.method static constructor <clinit>()V
|
||
|
.locals 3
|
||
|
|
||
|
.prologue
|
||
|
.line 65
|
||
|
invoke-static {}, Lcom/google/common/escape/Escapers;->builder()Lcom/google/common/escape/Escapers$Builder;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
const/16 v1, 0x22
|
||
|
|
||
|
const-string v2, """
|
||
|
|
||
|
invoke-virtual {v0, v1, v2}, Lcom/google/common/escape/Escapers$Builder;->addEscape(CLjava/lang/String;)Lcom/google/common/escape/Escapers$Builder;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
const/16 v1, 0x27
|
||
|
|
||
|
const-string v2, "'"
|
||
|
|
||
|
invoke-virtual {v0, v1, v2}, Lcom/google/common/escape/Escapers$Builder;->addEscape(CLjava/lang/String;)Lcom/google/common/escape/Escapers$Builder;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
const/16 v1, 0x26
|
||
|
|
||
|
const-string v2, "&"
|
||
|
|
||
|
invoke-virtual {v0, v1, v2}, Lcom/google/common/escape/Escapers$Builder;->addEscape(CLjava/lang/String;)Lcom/google/common/escape/Escapers$Builder;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
const/16 v1, 0x3c
|
||
|
|
||
|
const-string v2, "<"
|
||
|
|
||
|
invoke-virtual {v0, v1, v2}, Lcom/google/common/escape/Escapers$Builder;->addEscape(CLjava/lang/String;)Lcom/google/common/escape/Escapers$Builder;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
const/16 v1, 0x3e
|
||
|
|
||
|
const-string v2, ">"
|
||
|
|
||
|
invoke-virtual {v0, v1, v2}, Lcom/google/common/escape/Escapers$Builder;->addEscape(CLjava/lang/String;)Lcom/google/common/escape/Escapers$Builder;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
invoke-virtual {v0}, Lcom/google/common/escape/Escapers$Builder;->build()Lcom/google/common/escape/Escaper;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
sput-object v0, Lcom/google/common/html/HtmlEscapers;->HTML_ESCAPER:Lcom/google/common/escape/Escaper;
|
||
|
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
.method private constructor <init>()V
|
||
|
.locals 0
|
||
|
|
||
|
.prologue
|
||
|
.line 75
|
||
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||
|
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
.method public static htmlEscaper()Lcom/google/common/escape/Escaper;
|
||
|
.locals 1
|
||
|
|
||
|
.prologue
|
||
|
.line 59
|
||
|
sget-object v0, Lcom/google/common/html/HtmlEscapers;->HTML_ESCAPER:Lcom/google/common/escape/Escaper;
|
||
|
|
||
|
return-object v0
|
||
|
.end method
|