com.google.javascript.jscomp.ijs.ClassUtil.class Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of closure-compiler-unshaded Show documentation
Show all versions of closure-compiler-unshaded Show documentation
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 ?
java/lang/Object ()V
*com/google/javascript/jscomp/ijs/ClassUtil getClassNameOfThisProp 6(Lcom/google/javascript/rhino/Node;)Ljava/lang/String;
isThisPropInsideClassWithName %(Lcom/google/javascript/rhino/Node;)Z
$com/google/common/base/Preconditions
checkArgument (Z)V
com/google/javascript/rhino/Node getString ()Ljava/lang/String; makeConcatWithConstants 8(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
" # $ isGetProp ()Z
& ' (
getFirstChild $()Lcom/google/javascript/rhino/Node;
* + $ isThis
- . / 0 1 %com/google/javascript/jscomp/NodeUtil getEnclosingFunction F(Lcom/google/javascript/rhino/Node;)Lcom/google/javascript/rhino/Node;
3 4 getMemberFunctionClassName
6 7 8 9 : com/google/common/base/Strings
isNullOrEmpty (Ljava/lang/String;)Z
< = getMemberFieldDefClassName
? @ #isMemberFieldDefInsideClassWithName
B C $ isStaticMember
F G $ isMemberFieldDef
I J ( getGrandparent
L M $ isClass
O P
checkState
- R S getName
U V
isClassMethod
X Y Z [ $ java/lang/String isEmpty
] ^ ( getParent
` a $
isFunction
c d $ isMemberFunctionDef
f g $ isClassMembers
i j $ isStringKey
l m $ isObjectLit
o p $ isCall r s t GOOG_DEFINECLASS +Lcom/google/javascript/rhino/QualifiedName;
v w x y )com/google/javascript/rhino/QualifiedName matches
- { | 1
getBestLValue
~ getQualifiedName
- ? ? isEs6Constructor ? constructor
X ? ? ? equals (Ljava/lang/Object;)Z
- ? ? ? getBestJSDocInfo K(Lcom/google/javascript/rhino/Node;)Lcom/google/javascript/rhino/JSDocInfo;
? ? ? ? $ %com/google/javascript/rhino/JSDocInfo isConstructorOrInterface ? goog.defineClass
v ? ? ? of ?(Ljava/lang/String;)Lcom/google/javascript/rhino/QualifiedName; Code LineNumberTable LocalVariableTable this ,Lcom/google/javascript/jscomp/ijs/ClassUtil; maybeGetProp "Lcom/google/javascript/rhino/Node;
StackMapTable MethodParameters getFullyQualifiedNameOfThisProp getProp className Ljava/lang/String; getprop function RuntimeVisibleTypeAnnotations #Lorg/jspecify/annotations/Nullable; fieldNode %getFullyQualifiedNameOfMemberFieldDef classNode getFullyQualifiedNameOfMethod memberFunctionDef
methodName functionNode parent
hasNamedClass defineClassCall
isConstructor jsdoc 'Lcom/google/javascript/rhino/JSDocInfo;
SourceFile ClassUtil.java BootstrapMethods ?
? ? ? ? $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; ?
.prototype. ? . InnerClasses ? %java/lang/invoke/MethodHandles$Lookup ? java/lang/invoke/MethodHandles Lookup 0 s t
? / *? ? ? ! ? ? ? ? B
*? ? ? ? ? * ?
? ? ? @ ? ? ? ? S *?
? *? L+*? ? ? ? 2 3 4 ? ? ? ? ? ? ?
? ? .*? !?
*? %? )? ?*? ,L+? ?+? 2M,? 5? ?,? ? &