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

com.google.javascript.jscomp.CheckAccessControls.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!
????7V
java/lang/Object()V		
0com/google/javascript/jscomp/CheckAccessControlsdeprecationDepthIjava/util/LinkedList

	currentClassStackLjava/util/Deque;
(com/google/common/collect/HashBasedTablecreate,()Lcom/google/common/collect/HashBasedTable;	constPropertyInits*Lcom/google/common/collect/HashBasedTable;	 !compiler/Lcom/google/javascript/jscomp/AbstractCompiler;
#$%&'-com/google/javascript/jscomp/AbstractCompilergetTypeRegistry5()Lcom/google/javascript/rhino/jstype/JSTypeRegistry;	)*+typeRegistry3Lcom/google/javascript/rhino/jstype/JSTypeRegistry;-:com/google/javascript/jscomp/CollectFileOverviewVisibility
,/02(Lcom/google/javascript/jscomp/AbstractCompiler;)V
,234processG(Lcom/google/javascript/rhino/Node;Lcom/google/javascript/rhino/Node;)V
,678getFileOverviewVisibilityMap*()Lcom/google/common/collect/ImmutableMap;	:;<defaultVisibilityForFiles(Lcom/google/common/collect/ImmutableMap;
>?@AB*com/google/javascript/jscomp/NodeTraversaltraverse?(Lcom/google/javascript/jscomp/AbstractCompiler;Lcom/google/javascript/rhino/Node;Lcom/google/javascript/jscomp/NodeTraversal$Callback;)V
DEFbestInstanceTypeForMethodOrCtorS(Lcom/google/javascript/rhino/Node;)Lcom/google/javascript/rhino/jstype/ObjectType;
HIJisMarkedDeprecated%(Lcom/google/javascript/rhino/Node;)ZLMNOPjava/util/Dequepush(Ljava/lang/Object;)VLRSTpop()Ljava/lang/Object;
VWJisExtendsTarget
YZ[\] com/google/javascript/rhino/Node	getParent$()Lcom/google/javascript/rhino/Node;
_`JisFunctionOrClass
bcdef$com/google/common/base/Preconditions
checkState(ZLjava/lang/Object;)V
hijkJ%com/google/javascript/jscomp/NodeUtilisFunctionDeclaration
hmnJisClassDeclaration
Ypqr	getJSType-()Lcom/google/javascript/rhino/jstype/JSType;
tuvinstanceTypeFor\(Lcom/google/javascript/rhino/jstype/JSType;)Lcom/google/javascript/rhino/jstype/ObjectType;	xyz{|2com/google/javascript/jscomp/CheckAccessControls$1,$SwitchMap$com$google$javascript$rhino$Token[I
Y~?getToken%()Lcom/google/javascript/rhino/Token;
?????!com/google/javascript/rhino/Tokenordinal()I
Y??]
getFirstChild
h??JisNormalGet
?????)com/google/javascript/rhino/jstype/JSType
isConstructor()Z
????isInterface
h??JisPrototypeProperty
h???getPrototypeClassNameF(Lcom/google/javascript/rhino/Node;)Lcom/google/javascript/rhino/Node;
Y???isObjectLit
????isFunctionPrototypeType
Y???isClass?java/lang/AssertionError
??P
????isUnionType
????isInstanceType
????
isUnknownType
????toMaybeObjectType1()Lcom/google/javascript/rhino/jstype/ObjectType;
????toMaybeFunctionType3()Lcom/google/javascript/rhino/jstype/FunctionType;
?????/com/google/javascript/rhino/jstype/FunctionTypegetInstanceType
????isFunctionType
?????-com/google/javascript/rhino/jstype/ObjectTypegetOwnerFunction
??? primaryAccessControlScopeRootFor
???enterAccessControlScope%(Lcom/google/javascript/rhino/Node;)V
?????Dcom/google/javascript/jscomp/CheckAccessControls$IdentifierBehaviourselectj(Lcom/google/javascript/rhino/Node;)Lcom/google/javascript/jscomp/CheckAccessControls$IdentifierBehaviour;
???createPropertyReferenceh(Lcom/google/javascript/rhino/Node;)Lcom/google/javascript/jscomp/CheckAccessControls$PropertyReference;
???checkDeprecation?(Lcom/google/javascript/rhino/Node;Lcom/google/javascript/jscomp/CheckAccessControls$PropertyReference;Lcom/google/javascript/jscomp/CheckAccessControls$IdentifierBehaviour;Lcom/google/javascript/jscomp/NodeTraversal;)V
>???getScope&()Lcom/google/javascript/jscomp/Scope;
???checkVisibility?(Lcom/google/javascript/rhino/Node;Lcom/google/javascript/jscomp/CheckAccessControls$PropertyReference;Lcom/google/javascript/jscomp/CheckAccessControls$IdentifierBehaviour;Lcom/google/javascript/jscomp/Scope;)V
???checkConstantProperty?(Lcom/google/javascript/jscomp/CheckAccessControls$PropertyReference;Lcom/google/javascript/jscomp/CheckAccessControls$IdentifierBehaviour;)V
???checkFinalClassOverrides
???exitAccessControlScope	x??|O$SwitchMap$com$google$javascript$jscomp$CheckAccessControls$IdentifierBehaviour
??
???checkTypeDeprecationQ(Lcom/google/javascript/jscomp/NodeTraversal;Lcom/google/javascript/rhino/Node;)V
???checkNameDeprecation	????ES5_CLASS_NAMESPACEFLcom/google/javascript/jscomp/CheckAccessControls$IdentifierBehaviour;
??equals(Ljava/lang/Object;)Z
checkPropertyDeprecations(Lcom/google/javascript/jscomp/NodeTraversal;Lcom/google/javascript/jscomp/CheckAccessControls$PropertyReference;)V	??ES6_CLASS_INVOCATION

?'checkEs6ConstructorInvocationVisibility

checkNameVisibilityI(Lcom/google/javascript/jscomp/Scope;Lcom/google/javascript/rhino/Node;)V
checkPropertyVisibilityG(Lcom/google/javascript/jscomp/CheckAccessControls$PropertyReference;)V
shouldEmitDeprecationWarningQ(Lcom/google/javascript/jscomp/NodeTraversal;Lcom/google/javascript/rhino/Node;)Z
getTypeDeprecationInfo?(Lcom/google/javascript/rhino/jstype/JSType;)Ljava/lang/String;
 ?java/lang/StringisEmpty	"#$DEPRECATED_CLASS-Lcom/google/javascript/jscomp/DiagnosticType;	&'$DEPRECATED_CLASS_REASON
?)*+toString()Ljava/lang/String;
-./01$com/google/javascript/jscomp/JSErrormake?(Lcom/google/javascript/rhino/Node;Lcom/google/javascript/jscomp/DiagnosticType;[Ljava/lang/String;)Lcom/google/javascript/jscomp/JSError;
#345report)(Lcom/google/javascript/jscomp/JSError;)V
Y78?isName
Y:;+	getString
=>?@A"com/google/javascript/jscomp/ScopegetVar>(Ljava/lang/String;)Lcom/google/javascript/jscomp/AbstractVar;C com/google/javascript/jscomp/Var
BEFGgetJSDocInfo)()Lcom/google/javascript/rhino/JSDocInfo;
IJKL?%com/google/javascript/rhino/JSDocInfoisDeprecated
INO+getDeprecationReason	QR$DEPRECATED_NAME_REASON	TU$DEPRECATED_NAME
WXs(Lcom/google/javascript/jscomp/NodeTraversal;Lcom/google/javascript/jscomp/CheckAccessControls$PropertyReference;)Z
Z[\]]Bcom/google/javascript/jscomp/CheckAccessControls$PropertyReference
getSourceNode
Y_`?isNew
Zbc?getReceiverType
efvdereference
hivcastToObject
Zkl+getName
nopgetPropertyDeprecationInfoU(Lcom/google/javascript/rhino/jstype/ObjectType;Ljava/lang/String;)Ljava/lang/String;	rs$DEPRECATED_PROP_REASON
Zuv+getReadableTypeNameOrDefault	xy$DEPRECATED_PROP
{|}~/com/google/javascript/jscomp/AccessControlUtilsgetEffectiveNameVisibility?(Lcom/google/javascript/rhino/Node;Lcom/google/javascript/jscomp/Var;Lcom/google/common/collect/ImmutableMap;)Lcom/google/javascript/rhino/JSDocInfo$Visibility;	x??|;$SwitchMap$com$google$javascript$rhino$JSDocInfo$Visibility
???0com/google/javascript/rhino/JSDocInfo$Visibility
???isPackageAccessAllowedG(Lcom/google/javascript/jscomp/Var;Lcom/google/javascript/rhino/Node;)Z	??$BAD_PACKAGE_PROPERTY_ACCESS
B???
getSourceFile0()Lcom/google/javascript/rhino/StaticSourceFile;?k?,com/google/javascript/rhino/StaticSourceFile
???isPrivateAccessAllowed	??$BAD_PRIVATE_GLOBAL_ACCESS
Y???getStaticSourceFile
????java/util/Objects'(Ljava/lang/Object;Ljava/lang/Object;)Z
#???getCodingConvention1()Lcom/google/javascript/jscomp/CodingConvention;?????-com/google/javascript/jscomp/CodingConventiongetPackageNameB(Lcom/google/javascript/rhino/StaticSourceFile;)Ljava/lang/String;	????	INHERITED2Lcom/google/javascript/rhino/JSDocInfo$Visibility;	??$:BAD_PROPERTY_OVERRIDE_IN_FILE_WITH_FILEOVERVIEW_VISIBILITY
???+name
ZE
I???
isOverride
I???
getVisibility4()Lcom/google/javascript/rhino/JSDocInfo$Visibility;
h??J!isEs6ConstructorMemberFunctionDef
??
???getSuperClassInstanceIfFinalb(Lcom/google/javascript/rhino/jstype/FunctionType;)Lcom/google/javascript/rhino/jstype/ObjectType;	??$EXTEND_FINAL_CLASS
???+getDisplayName
??
???isPropertyDeclaredConstant(Lcom/google/javascript/rhino/jstype/ObjectType;Ljava/lang/String;)Lcom/google/javascript/jscomp/CheckAccessControls$Constancy;	?????:com/google/javascript/jscomp/CheckAccessControls$ConstancyMUTABLE???
inGlobalScope
h??JisInvocationTarget
???canAccessDeprecatedTypes/(Lcom/google/javascript/jscomp/NodeTraversal;)Z
>??]getClosestHoistScopeRoot
h??JisFunctionBlock
???
getTypeOfThisO(Lcom/google/javascript/rhino/Node;)Lcom/google/javascript/rhino/jstype/JSType;
Y???isAssign
h???getBestJSDocInfoK(Lcom/google/javascript/rhino/Node;)Lcom/google/javascript/rhino/JSDocInfo;
?O?;(Lcom/google/javascript/rhino/JSDocInfo;)Ljava/lang/String;
?E?
????getOwnPropertyJSDocInfo;(Ljava/lang/String;)Lcom/google/javascript/rhino/JSDocInfo;
I???isFinal
I??
isConstant	??OTHER_CONSTANT
??getSuperClassConstructor
?E
Y	
?
isFunction
Y
JisSecondChildOf
Y?isRoot
Y?isScript
Y?isModuleBody
hJisClassStaticBlock
h?getEnclosingClass
bf
checkArgument
?!?r
h#$JisLValue
&'vboxedOrUnknown
Y)*?	isDelProp
Y,-?isExprResult/
0s(Lcom/google/javascript/jscomp/CheckAccessControls;Lcom/google/javascript/rhino/Node;)Ljava/util/function/Supplier;
?23?isLiteralObject
?56vcast//
3:;<getNativeObjectTypeb(Lcom/google/javascript/rhino/jstype/JSTypeNative;)Lcom/google/javascript/rhino/jstype/ObjectType;
Y>??isMemberFieldDef
YAB?hasChildrenD
E()Ljava/util/function/Supplier;
YGH?isStaticMember
?
{KLMgetOverriddenPropertyVisibilityu(Lcom/google/javascript/rhino/jstype/ObjectType;Ljava/lang/String;)Lcom/google/javascript/rhino/JSDocInfo$Visibility;
{OPQ+getEffectiveVisibilityForOverriddenProperty?(Lcom/google/javascript/rhino/JSDocInfo$Visibility;Lcom/google/javascript/rhino/JSDocInfo$Visibility;Ljava/lang/String;)Lcom/google/javascript/rhino/JSDocInfo$Visibility;
Zp
3TUVgetReadableTypeName6(Lcom/google/javascript/rhino/Node;)Ljava/lang/String;XJSC_DEPRECATED_VARZ!Variable {0} has been deprecated.
\]^_`+com/google/javascript/jscomp/DiagnosticTypedisabledS(Ljava/lang/String;Ljava/lang/String;)Lcom/google/javascript/jscomp/DiagnosticType;bJSC_DEPRECATED_VAR_REASONd%Variable {0} has been deprecated: {1}fJSC_DEPRECATED_PROPh-Property {0} of type {1} has been deprecated.jJSC_DEPRECATED_PROP_REASONl1Property {0} of type {1} has been deprecated: {2}nJSC_DEPRECATED_CLASSpClass {0} has been deprecated.rJSC_DEPRECATED_CLASS_REASONt"Class {0} has been deprecated: {1}vJSC_BAD_PACKAGE_PROPERTY_ACCESSx?Access to package-private property {0} of {1} not allowed here.
\z{`error}JSC_BAD_PRIVATE_GLOBAL_ACCESSJSC_BAD_PROPERTY_OVERRIDE_IN_FILE_WITH_FILEOVERVIEW_VISIBILITY?pOverridden property {0} in file with fileoverview visibility {1} must explicitly redeclare superclass visibility?JSC_PRIVATE_OVERRIDE?#Overriding private property of {0}.?JSC_EXTEND_FINAL_CLASS?-{0} is not allowed to extend final class {1}.?JSC_VISIBILITY_MISMATCH?1Overriding {0} property of {1} with {2} property.?&JSC_CONSTANT_PROPERTY_REASSIGNED_VALUE?5constant property {0} assigned a value more than once?Initialized at {1}
?????/com/google/javascript/jscomp/base/JSCompStringslines'([Ljava/lang/String;)Ljava/lang/String;?JSC_FINAL_PROPERTY_OVERRIDDEN?(@final method or property {0} overridden?JSC_CONSTANT_PROPERTY_DELETED?'constant property {0} cannot be deleted?3com/google/javascript/jscomp/NodeTraversal$Callback?)com/google/javascript/jscomp/CompilerPass	SignatureBLjava/util/Deque;?Lcom/google/common/collect/HashBasedTable;?Lcom/google/common/collect/ImmutableMap;CodeLineNumberTableLocalVariableTablethis2Lcom/google/javascript/jscomp/CheckAccessControls;MethodParametersexternsrootcollectPass;)Lcom/google/javascript/rhino/JSDocInfo$Visibility;rawcreatedFromGoogProvide lambda$createPropertyReference$4 lambda$createPropertyReference$3 lambda$createPropertyReference$2 lambda$createPropertyReference$10lambda$checkEs6ConstructorInvocationVisibility$0E(Lcom/google/javascript/rhino/jstype/FunctionType;)Ljava/lang/String;
SourceFileCheckAccessControls.javaNestMembersBootstrapMethods2
34567"java/lang/invoke/LambdaMetafactorymetafactory?(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;T:
;*++>
?)VA
B(VD
E'VG
H&+InnerClassesCallbackIdentifierBehaviourPropertyReference
Visibility	ConstancyConstantDeclarationBuilderR%java/lang/invoke/MethodHandles$LookupTjava/lang/invoke/MethodHandlesLookup ??U$R$y$s$#$'$?$?$?$?$?$?$?$?$?$$?$ !*+????;<??:0?y)*?*?*?
Y??*??*+?*+?"?(??"??	???? ?(??)??) !? 34??-?,Y*??.N-+,?1*-?5?9*?+*?=*?,*?=??????#?,??*-??-?-?!???	??????"*+?CM+?G?
*Y?`?*?,?K????
??!?? "??"???????@??????e+?G?
*Y?d?*??QW?????????????
???[*?U?*?X?*?^?*?????????????EF???+?^+?a+?XM+?g?
+?l?+?o?s??w,?}??.??.6??????+?o?s?,??N-???A-?o:???????	?s?-???-???o?s?-???o?s?-?o?s?,?XN-?X:-???-?o???
-?o?s??????o?s???Y?????j??
??#?\?d?i?p?v??????????????????? ?%?Hv8??iM??>??8??????
???.?Y8?&Y??
??%YY@??	????
uv??X*??*????*???
*???*???*???
*???*?????*????*???*???øs?*????6
456
789":0;8<?=A>H?SB?X???


????????,??:?	*????GHIL?4?????
???Y?@
??
?????C,??:*,??:*,+??*,+?ݶ?*??*,??,??:?	*???*
RS
UV$W,Y1[7\<]B_?HC??C??CC?=??
6??7???B?ZY?@
6?@7??
??????R??-??.?4   **+??
*+???,?-?????
*,???"g(m/n2s9t<zJ{Q}?4R??RR??R??R???(		?????	?????4-????*+?	-?????
*+?,?-?????*,????
??? ?.?3??44??44??4??4????????	?????R*+,???,?o????N-?:????	?!??%:*?,?Y-?(SYS?,?2??&	?	?
??? ?!?4?Q??>R??R??R?=??7??4?$?
??
B\?	??????,?6??*+,???+??,?9?5W???????????#j??)d???

?R?? ?	???c?,?6??+,?9??@>??????
?IC?????????P+?^?
+?X????+?o??M,?
,????,??N-?#*?+???Y,??SY-??S?,?2??:EHILM%N&P+Q/R>VEWISLROY?*P??P?6??+%??????(??????0	+?
,??????+?a?dN+?j:+?Y:*-??:?Ѷי??ؙ+?ۙ*+-?ޱ+???+??*????YS?,?2?-??-?????-??)+?ۚ"*????YSY?S?,?2?*+-??:?>?????י	????:*??YSY??S?,?2*+-?ޱ?~^_bcd#f,g7h8kGmOnPqWrXu_vwwx}?~??????????????????????????\	?"?$????????????#??,????I???0?(Z??Y?,? ?B\#?	???	?????B+?jN,?:*?,-???:??*?,?-???:??,?M?????2??	????$?0?5?8?=?@??>&??0
??B??B??B??=??????????	????????\*?,?+?j??Y+?Y-??W,?"?9,?:?.+?j?#?"*??+?j??Y+?Y-??W??*
??	??%?+?<?B?F?[??4+0??\??\??\??\????[?
????\*?'L+?*?+????
?????
????
?C???
fv?D
*??*?*????
???C?????:;?T+?*?(?,?2?+?????????@???:?=	*+?8?İ???	??	????'v?=	*+?d?M,?gN+?j:+?Y-?A:+?E?
+?H??6-?I:*?9?M??:+-*?9?R:	?+?V:

?*
	+?Z,:
? ?^:??:
??:?	??+?Y??:?3??????b??6*+	
?c?*+	
?g???"?
????"?#?.?C?H?M[afkqv?
??????????? ?!?"?$?%?(??q??
??
????????????"???.??C???M???[??f??	?t?
?C??Y?0Z???@??
Z????????Y?
?*?@?????	?+?o??M,?kN,?n:??-q?A:?s+?wq?}-????????,??????:-*?9?M????:?????	???:*,+???g??f01
59:;'A+B3C9D?EEFKGVH[IbKkOqNvQ?R?S?U?Y?U?[?\	???????
???	't?b9
?v%????"???YH??a?Z?A??@??@'t??ef?*|+?H?
+???????:,???(?#*?+?Y???Y??S?,?2?<,???3-?/*?+?Y???Y,??SY??SY??S?,?2??:dl"m'n<mBoOqTsauivqwurxq{y?H|??|??|?|?|??|??f
??B??-?8????
???M*+???????????@?	ij?#i???????b??-?s:??,??.?;'1*+???*+???
*+?????2????%?H?Q?T?[?^?e?h??Hi??i??i?i??i?i?%D???(?		?@%D????????U*???:,??:-??:??
?b?&*?+?Y???Y+?jSY+?tS?,?2??.?	???1?6?C?J?N?Q?T??HU??U??U?U?	L??B??8???1?"?
?????<,?,+?a???
+?t?,?(N*?+?Y???Y+?jSY-S?,?2??&	???? ?-?5?8?;??*<??<??<?!??C?	??	?????[,?6*???N-???#-????:????,?ϙ????*?+?Y???Y+?jSY+?tS?,?2??:??"?'?*?3?4?7?<?I?P?T?W?Z??*"??[??[??[???????	??	??	??{%+?֙,?ٚ,?^??*+?ܚ???????? %??%??%??@?	??X??C+?֙,?Y?ٚ?,???,??N,?ۙ-?-?H??*+?ܚ???&	???!35?*C??C??C??!"??
?I@?	??????D+??M,??,?XM,?XN*??$*,???-?-??*,?C?????&	!%-(5)C!?*D??D???.??Y?,Y@??
IJ?E*????????1???@??
?I*??*?????:;>????????
O??a*?*?H?*?M?*?M?????BCDFH??????????3+?.+,??N-??-??????-?????+?L??ԲѰ?*
MN
OPQRS#T'M/W?*
??3??3??3???I
?
?	?
op?? *+????M,?,?*?N-?	-+?m???`	a
befgi?* ?? ?	???????	???
????$*?L+??+?M,?,???+?????nopq"t? $??????
?CI?I???
iv?D
*??*????x?
???C??????
`J?J*??
*??????|???@??
WJ?b*?XL+???*+?????
?????
?Y@?????R+??
+??+?o?g?+???+??
+?M,?o?+?+?+?oM,?,???,??? ???2?????&?+?0?8?=?H?P??*+R??R=???????????3+?XM+??N?s:?w+?}??.?	?????				6+?"6+?9?}*+???o?%???
+?X?(????,?+?-?-???????-?????*+?.??W?Z?w,?}??.?B	d?,?o?1??+?9?}*,?o?4???3?!(?*??"I!???@Z?N????
?!?#
???S*?jN??:+?+-??:?
??:*?R:??1??6???,???,??2??
????!?'?;?L?Q?R??R?S??S??S?N??
I$?',??;%???!???@?@??
???	?
&+????g'V?=	*?(+?S??[?	??	?(V?=	*?(+?S??Q?	??	?)V?@*?(+???S??6????
*+?2*???(??H???,???WY?[?Sac?[?Peg?[?wik?[?qmo?[?!qs?[?%uw?y??|~?y?????????????????y???????????y??????????Y?SY?S????????Y?SY?S?????????????%124578$;*<0?6@<BBCHENFTJZK`OfPlTrUxY~Z?_?`?b?c?f?g?j?m?k?q?t?r?x?y?x-./xZx???04189<18=<18@<18C<18F<IJ	?>J	x?K@ZL?IM@?N@?O
xZPQSU




© 2015 - 2024 Weber Informatics LLC | Privacy Policy