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

com.google.javascript.jscomp.CheckMissingRequires.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
Acom/google/javascript/jscomp/NodeTraversal$AbstractModuleCallbackj(Lcom/google/javascript/jscomp/AbstractCompiler;Lcom/google/javascript/jscomp/modules/ModuleMetadataMap;)Vjava/util/LinkedHashSet

()V	
1com/google/javascript/jscomp/CheckMissingRequirestemplateParamNamesLjava/util/LinkedHashSet;
6com/google/javascript/jscomp/modules/ModuleMetadataMapgetModulesByGoogNamespace*()Lcom/google/common/collect/ImmutableMap;	
moduleByNamespace(Lcom/google/common/collect/ImmutableMap;	
compiler/Lcom/google/javascript/jscomp/AbstractCompiler;
!"#$%*com/google/javascript/jscomp/NodeTraversaltraverse?(Lcom/google/javascript/jscomp/AbstractCompiler;Lcom/google/javascript/rhino/Node;Lcom/google/javascript/jscomp/NodeTraversal$Callback;)V

'()	visitNode?(Lcom/google/javascript/jscomp/NodeTraversal;Lcom/google/javascript/rhino/Node;Lcom/google/javascript/jscomp/modules/ModuleMetadataMap$ModuleMetadata;)V
+,-./Ecom/google/javascript/jscomp/modules/ModuleMetadataMap$ModuleMetadatarootNode$()Lcom/google/javascript/rhino/Node;
12clear
45678 com/google/javascript/rhino/NodegetJSDocInfo)()Lcom/google/javascript/rhino/JSDocInfo;

:;<visitJsDocInfo?(Lcom/google/javascript/jscomp/NodeTraversal;Lcom/google/javascript/jscomp/modules/ModuleMetadataMap$ModuleMetadata;Lcom/google/javascript/rhino/JSDocInfo;)V
4>?/	getParent
4ABC	isGetProp()Z
4EFCisQualifiedName
4HIJgetQualifiedNameObject-()Lcom/google/javascript/rhino/QualifiedName;
LMNOP)com/google/javascript/rhino/QualifiedNamegetRoot()Ljava/lang/String;Rthis
TUVWXjava/lang/Stringequals(Ljava/lang/Object;)ZZsuper

\]^visitQualifiedName?(Lcom/google/javascript/jscomp/NodeTraversal;Lcom/google/javascript/rhino/Node;Lcom/google/javascript/jscomp/modules/ModuleMetadataMap$ModuleMetadata;Lcom/google/javascript/rhino/QualifiedName;Z)V
4`aCisName
4cdP	getString
TfgCisEmpty

ij)visitMaybeDeclaration
lmnop%com/google/javascript/rhino/JSDocInfogetTemplateTypeNames+()Lcom/google/common/collect/ImmutableList;
rstaddAll(Ljava/util/Collection;)Z
lvwgetTypeTransformations
yz{|}&com/google/common/collect/ImmutableMapkeySet*()Lcom/google/common/collect/ImmutableSet;
l?ChasType
l???getType0()Lcom/google/javascript/rhino/JSTypeExpression;

???visitJsDocExpr?(Lcom/google/javascript/jscomp/NodeTraversal;Lcom/google/javascript/jscomp/modules/ModuleMetadataMap$ModuleMetadata;Lcom/google/javascript/rhino/JSTypeExpression;Z)V
l???getParameterNames()Ljava/util/Set;?????
java/util/Setiterator()Ljava/util/Iterator;????Cjava/util/IteratorhasNext????next()Ljava/lang/Object;
l???hasParameterType(Ljava/lang/String;)Z
l???getParameterTypeB(Ljava/lang/String;)Lcom/google/javascript/rhino/JSTypeExpression;
l??C
hasReturnType
l???
getReturnType
l??ChasEnumParameterType
l???getEnumParameterType
l??ChasTypedefType
l???getTypedefType
l??ChasThisType
l???getThisType
l??ChasBaseType
l???getBaseType
l???getExtendedInterfaces()Ljava/util/List;???java/util/List?,com/google/javascript/rhino/JSTypeExpression
l???getImplementedInterfaces
???pgetAllTypeNodes
?????'com/google/common/collect/ImmutableList2()Lcom/google/common/collect/UnmodifiableIterator;
L???of?(Ljava/lang/String;)Lcom/google/javascript/rhino/QualifiedName;
+??CisModule

???isTypeScriptSource%(Lcom/google/javascript/rhino/Node;)Z
?????$com/google/common/base/Preconditions
checkState(Z)V
!???getScope&()Lcom/google/javascript/jscomp/Scope;
?????"com/google/javascript/jscomp/ScopegetVar>(Ljava/lang/String;)Lcom/google/javascript/jscomp/AbstractVar;? com/google/javascript/jscomp/Var
????getDeclaration,()Lcom/google/javascript/jscomp/AbstractVar;
???/getNode
????.()Lcom/google/javascript/jscomp/AbstractScope;
???CisLocal
%com/google/javascript/jscomp/NodeUtilgetGoogRequireInfoW(Lcom/google/javascript/jscomp/Var;)Lcom/google/javascript/jscomp/NodeUtil$GoogRequire;
	
P1com/google/javascript/jscomp/NodeUtil$GoogRequireproperty

P	namespacewiz
yget&(Ljava/lang/Object;)Ljava/lang/Object;
+ChasLegacyGoogNamespacesmakeConcatWithConstants8(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
+googNamespaces/()Lcom/google/common/collect/ImmutableMultiset;
 !"#X+com/google/common/collect/ImmutableMultisetcontains
%&CisStrongRequire

()*hasAcceptableRequire?(Lcom/google/javascript/jscomp/modules/ModuleMetadataMap$ModuleMetadata;Lcom/google/javascript/rhino/QualifiedName;Lcom/google/javascript/jscomp/modules/ModuleMetadataMap$ModuleMetadata;Z)Z	
,-.!INCORRECT_NAMESPACE_ALIAS_REQUIRE-Lcom/google/javascript/jscomp/DiagnosticType;	
01.&INCORRECT_NAMESPACE_ALIAS_REQUIRE_TYPE
!345reporte(Lcom/google/javascript/rhino/Node;Lcom/google/javascript/jscomp/DiagnosticType;[Ljava/lang/String;)V
4789getStaticSourceFile0()Lcom/google/javascript/rhino/StaticSourceFile;;<=?C,com/google/javascript/rhino/StaticSourceFile
L?@CisSimple
!Cxid
EF?isDeclarationLValue

HIJnormalizeQualifiedName?(Lcom/google/javascript/rhino/QualifiedName;Lcom/google/javascript/jscomp/NodeUtil$GoogRequire;)Lcom/google/javascript/rhino/QualifiedName;
LLMPjoin

OPQisAllowedNamespace\(Lcom/google/javascript/jscomp/modules/ModuleMetadataMap$ModuleMetadata;Ljava/lang/String;)Z	
ST.INDIRECT_NAMESPACE_REF_REQUIRE	
VW.#INDIRECT_NAMESPACE_REF_REQUIRE_TYPE
LYZJgetOwner	
\].MISSING_REQUIRE	
_`.MISSING_REQUIRE_TYPE	
bc. MISSING_REQUIRE_IN_PROVIDES_FILE	
ef.%MISSING_REQUIRE_TYPE_IN_PROVIDES_FILE
4hi/
getFirstChild
Lkl?getprop
Lnop
components()Ljava/lang/Iterable;r?sjava/lang/Iterableugoog.module
+wxstronglyRequiredGoogNamespaces
 z{}
elementSet
+}~weaklyRequiredGoogNamespaces
?????com/google/common/collect/SetsunionH(Ljava/util/Set;Ljava/util/Set;)Lcom/google/common/collect/Sets$SetView;
????intersection?!?JSC_MISSING_REQUIRE??''{0}'' references a fully qualified namespace, which is disallowed by the style guide.
Please add a goog.require, assign or destructure it into an alias, and use the alias instead.
?????+com/google/javascript/jscomp/DiagnosticTypewarningS(Ljava/lang/String;Ljava/lang/String;)Lcom/google/javascript/jscomp/DiagnosticType;?JSC_MISSING_REQUIRE_TYPE??''{0}'' references a fully qualified namespace, which is disallowed by the style guide.
Please add a goog.requireType, assign or destructure it into an alias, and use the alias instead.
????disabled?%JSC_INCORRECT_NAMESPACE_ALIAS_REQUIRE?\''{0}'' is its own namespace.
Please add a separate goog.require and use that alias instead.?*JSC_INCORRECT_NAMESPACE_ALIAS_REQUIRE_TYPE?`''{0}'' is its own namespace.
Please add a separate goog.requireType and use that alias instead.?"JSC_INDIRECT_NAMESPACE_REF_REQUIRE?h''{0}'' should have its own goog.require.
Please add a separate goog.require and use that alias instead.?'JSC_INDIRECT_NAMESPACE_REF_REQUIRE_TYPE?p''{0}'' should have its own goog.requireType.
Please add a separate goog.requireType and use that alias instead.?$JSC_MISSING_REQUIRE_IN_PROVIDES_FILE?^''{0}'' references a namespace which was not required by this file.
Please add a goog.require.?)JSC_MISSING_REQUIRE_TYPE_IN_PROVIDES_FILE?b''{0}'' references a namespace which was not required by this file.
Please add a goog.requireType.?)com/google/javascript/jscomp/CompilerPass	Signature-Ljava/util/LinkedHashSet;?Lcom/google/common/collect/ImmutableMap;CodeLineNumberTableLocalVariableTable3Lcom/google/javascript/jscomp/CheckMissingRequires;moduleMetadataMap8Lcom/google/javascript/jscomp/modules/ModuleMetadataMap;MethodParametersprocessG(Lcom/google/javascript/rhino/Node;Lcom/google/javascript/rhino/Node;)Vexterns"Lcom/google/javascript/rhino/Node;rootshouldTraverse?(Lcom/google/javascript/jscomp/NodeTraversal;Lcom/google/javascript/rhino/Node;Lcom/google/javascript/jscomp/modules/ModuleMetadataMap$ModuleMetadata;Lcom/google/javascript/rhino/Node;)Zt,Lcom/google/javascript/jscomp/NodeTraversal;n
currentModuleGLcom/google/javascript/jscomp/modules/ModuleMetadataMap$ModuleMetadata;	scopeRoot
StackMapTableRuntimeVisibleTypeAnnotations#Lorg/jspecify/annotations/Nullable;visit?(Lcom/google/javascript/jscomp/NodeTraversal;Lcom/google/javascript/rhino/Node;Lcom/google/javascript/jscomp/modules/ModuleMetadataMap$ModuleMetadata;Lcom/google/javascript/rhino/Node;)V
qualifiedName+Lcom/google/javascript/rhino/QualifiedName;Ljava/lang/String;info'Lcom/google/javascript/rhino/JSDocInfo;paramexpr.Lcom/google/javascript/rhino/JSTypeExpression;typeNodeisStrongReferenceZtoReport
alternateFilerequire3Lcom/google/javascript/jscomp/NodeUtil$GoogRequire;requiredFile	referencecurrentFilerootNamevar"Lcom/google/javascript/jscomp/Var;declarationsubNameoriginalRequiredFilegetRootNodeF(Lcom/google/javascript/rhino/Node;)Lcom/google/javascript/rhino/Node;	componentimportednewQNameLjava/util/Iterator;LocalVariableTypeTable(Ljava/util/Iterator;parentrdepdepacceptableRequiresLjava/util/Set;#Ljava/util/Set;
SourceFileCheckMissingRequires.javaBootstrapMethods?
????$java/lang/invoke/StringConcatFactory?(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/invoke/CallSite;.InnerClassesAbstractModuleCallback3com/google/javascript/jscomp/NodeTraversal$CallbackCallbackModuleMetadataGoogRequire
&com/google/common/collect/Sets$SetViewSetView
%java/lang/invoke/MethodHandles$Lookupjava/lang/invoke/MethodHandlesLookup!
?
].`.-.1.T.W.c.f.?????d*+,?*?Y?	?*,????_Y`a? R????	????L
*?,*? ??
e	f? 
R?
??
???	?????v-??*+,-?&??klp
q?4R????????????????	????w-?,-?*?
*??0??wy{?4R??????????????????()?i,?3:?*+-?9,?=?@?6,?D?/,?G:?K:Q?S?
Y?S??*+,-?[,?_?,?b?e?
*+,-?h??2~??$?*?1?E?F?P?a?h??H*&??1??iR?i??i??i??c????l?1LT?	?
???;<?*?-?k?qW*?-?u?x?qW-?~?*+,-????-????:???(???T:-???*+,-???????-???*+,-????-???*+,-????-???*+,-????-???*+,-????-???*+,-????-?¹?:???????:*+,?????-?˹?:???????:*+,??????n???"?-?N?W?]?a?d?g?n?y???????????????????????????HN???	??	??R????????$
-?
?+??
??!?
??!?
???????5-?ζ?:???$???4:*+,?b???[??ر???&?.?1?4??>??5R?5??5??5??5????	??*?????j)??
-?ښ?*,?ݙ?,?_??,?b:+??????:??????:???,??????????:????????S??*????+:???????:		??:
-?	??Q*?	??+:?>??6-
?$?'?&?$?	?+??/:+,?TY	S?2???$???????,?1?2?<?J?K?Y?`?e?f?n?o??????????????????????	?
???
?.?@??`????????a??	?Z??
R??????????,???<????P? T?????+?\TL+B??
!4+T???
??????>
+?6?:???
R?
????]^????K:?>?*??A??B?S??,?D??+??????:?????????*,?ݙ?-?ښ??>???:???S??*????+:		?	???*?G:

:?j?K:*-?N??*???+:

??8-
?'?
	
?#?	?R??U:+,?TYS?2??X:????:???K:	*-	?N??*?	??+:

??O-?ڙ?	?[??^:?$-
?'??	?a??d:??+,?TY	S?2??X:??????9 %''*(./003>4Q7Y8Z;a=bAjDkGrI?O?R?S?U?Y?d?e?g?h?i?l?m?o?x???????f? ?)?0?:?;?I?N?Q?X?k?x?}????????????????.?V
??=??
?l??r???????	?qI?
h?.??.0m
?	IT??
??.$????R???????????????????>j???o ?T?)???+?
LL?T?+
B???	??L?T?+B?B?????	?????????M*?@?*?gK???*???????????IJ??M,???N,??-,??jN+?m?q:??W??????T:-?jN???-??*
????#?+?5?A?H?K??>A??MR?M??M??E??#*o??#*o???L???	??PQ?s,t?S??+?,??????
????? R???
???	?

)*??N*?v?y:?*?|?y?:,??y??:+:??K?????X:?????*
?	?
???)?1?@?B?L??>, ??N??N
?N??N??	E???	E??????L?	??
?????a?????[?????^?????+?????/?????R?????U?????a?????d??F&'-.45$:*;0@6A<FBGHLNMTRZS`R????2!	!	+			?	




© 2015 - 2024 Weber Informatics LLC | Privacy Policy