All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.javascript.jscomp.AllowlistWarningsGuard.class Maven / Gradle / Ivy

Go to download

Closure Compiler is a JavaScript optimizing compiler. It parses your JavaScript, analyzes it, removes dead code and rewrites and minimizes what's left. It also checks syntax, variable references, and types, and warns about common JavaScript pitfalls. It is used in many of Google's JavaScript apps, including Gmail, Google Web Search, Google Maps, and Google Docs.

The newest version!
????7?
&com/google/common/collect/ImmutableSetof*()Lcom/google/common/collect/ImmutableSet;
	
3com/google/javascript/jscomp/AllowlistWarningsGuard(Ljava/util/Set;)V
*com/google/javascript/jscomp/WarningsGuard()V
$com/google/common/base/PreconditionscheckNotNull&(Ljava/lang/Object;)Ljava/lang/Object;
normalizeAllowlist9(Ljava/util/Set;)Lcom/google/common/collect/ImmutableSet;		allowlist(Lcom/google/common/collect/ImmutableSet;!java/util/LinkedHashSet
 $%&'(
java/util/Setiterator()Ljava/util/Iterator;*+,-.java/util/IteratorhasNext()Z*012next()Ljava/lang/Object;4java/lang/String
3678trim()Ljava/lang/String;
3:;.isEmpty
3=>?charAt(I)C	ABCLINE_NUMBERLjava/util/regex/Pattern;
EFGHIjava/util/regex/Patternmatcher3(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher;K:
MNOPQjava/util/regex/MatcherreplaceFirst&(Ljava/lang/String;)Ljava/lang/String;$STUadd(Ljava/lang/Object;)Z
WXYcopyOf@(Ljava/util/Collection;)Lcom/google/common/collect/ImmutableSet;
[\]^_$com/google/javascript/jscomp/JSErrorgetDefaultLevel+()Lcom/google/javascript/jscomp/CheckLevel;	abcde'com/google/javascript/jscomp/CheckLevelERROR)Lcom/google/javascript/jscomp/CheckLevel;
aghUequals
:
klm
formatWarning:(Lcom/google/javascript/jscomp/JSError;)Ljava/lang/String;
opqcontainWarning(Ljava/lang/String;)Z	asteWARNING
vwUcontains	yz{|}3com/google/javascript/jscomp/WarningsGuard$PrioritySUPPRESS_BY_ALLOWLIST5Lcom/google/javascript/jscomp/WarningsGuard$Priority;
y??getValue()I
???loadAllowlistedJsWarnings(Ljava/io/File;)Ljava/util/Set;	?????!java/nio/charset/StandardCharsetsUTF_8Ljava/nio/charset/Charset;
?????com/google/common/io/FilesasCharSourceK(Ljava/io/File;Ljava/nio/charset/Charset;)Lcom/google/common/io/CharSource;
???2(Lcom/google/common/io/CharSource;)Ljava/util/Set;
?????com/google/common/io/CharSource
openStream()Ljava/io/Reader;
???!(Ljava/io/Reader;)Ljava/util/Set;?java/io/IOException?java/lang/RuntimeException
???(Ljava/lang/Throwable;)V
????? com/google/common/io/CharStreams	readLines&(Ljava/lang/Readable;)Ljava/util/List;$???addAll(Ljava/util/Collection;)Z
?l?;(Lcom/google/javascript/jscomp/JSError;Z)Ljava/lang/String;?java/lang/StringBuilder
?
[??8
getSourceName
??QnormalizeSourceName
????append-(Ljava/lang/String;)Ljava/lang/StringBuilder;
[???
getLineNumber
????(I)Ljava/lang/StringBuilder;	???
LINE_SPLITTER!Lcom/google/common/base/Splitter;
[??8getDescription
?????com/google/common/base/SplittersplitToList*(Ljava/lang/CharSequence;)Ljava/util/List;?  ?????java/util/Listget(I)Ljava/lang/Object;????size?
# ?

???8toString?blaze-out/[^/]*/(bin|genfiles)/?
3?P?8(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
3???indexOf(I)I
3???	substring(II)Ljava/lang/String;
????on$(C)Lcom/google/common/base/Splitter;?:-?\d+
E???compile-(Ljava/lang/String;)Ljava/util/regex/Pattern;	Signature;CodeLineNumberTableLocalVariableTablethis5Lcom/google/javascript/jscomp/AllowlistWarningsGuard;Ljava/util/Set;LocalVariableTypeTable#Ljava/util/Set;MethodParameters&(Ljava/util/Set;)VtrimmedLjava/lang/String;lineresult
StackMapTablea(Ljava/util/Set;)Lcom/google/common/collect/ImmutableSet;levelQ(Lcom/google/javascript/jscomp/JSError;)Lcom/google/javascript/jscomp/CheckLevel;error&Lcom/google/javascript/jscomp/JSError;RuntimeVisibleTypeAnnotations#Lorg/jspecify/annotations/Nullable;formattedWarninggetPriorityfromFileE(Ljava/io/File;)Lcom/google/javascript/jscomp/AllowlistWarningsGuard;fileLjava/io/File;3(Ljava/io/File;)Ljava/util/Set;eLjava/io/IOException;supplier!Lcom/google/common/io/CharSource;F(Lcom/google/common/io/CharSource;)Ljava/util/Set;readerLjava/io/Reader;
Exceptions5(Ljava/io/Reader;)Ljava/util/Set;iIwithMetaDataZsbLjava/lang/StringBuilder;linesLjava/util/List;$Ljava/util/List;
sourceNamegetFirstLinewarning
lineLength
SourceFileAllowlistWarningsGuard.javaRuntimeInvisibleAnnotations/Lcom/google/common/annotations/GwtIncompatible;valuejava.io, java.util.regexNestMembers;Dcom/google/javascript/jscomp/AllowlistWarningsGuard$AllowlistBuilderInnerClassesPriorityAllowlistBuilder!????BC?6*???
<=?d*?
+?W*+???GH	IJ?	??Z? Y?"L*?#M,?)?@,?/?3N-?5:?9????<#????+?@?DJ?L?RW???+?V?"UV"W(X;Z>^R_U`*(*	
"0
ZRZR
?$*?.33???y++?Z?`?f??*??i?**+?j?n??r??e
fh%l)n++
pq?=	*?+?u?x		
??1?x?~?}	?6?Y*?????	???5*????????????b*?????L??Y+??????	?		
H?? ???l*?W? Y?"L+*????W+???
??!"



#?!?$lm?;*+????l??6???Y??N-*+??????J??W?-+????W??+?ɶ?:-Ҷ????3??W?56???-ݶ????3??W????-߶?W-??2????'?3?H?L?[?q?w?~?>O(%&???'({)*3P+,3P+-
?'??'??'	'?Q?T+?+???+???
?.


.	/Q?`*
??<?
*??K*?????0

1&
?02?-
???????@?
3934567s89:<y=@:>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy