com.google.javascript.jscomp.DependencyOptions.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/DependencyOptions getMode A()Lcom/google/javascript/jscomp/DependencyOptions$DependencyMode; =com/google/javascript/jscomp/DependencyOptions$DependencyMode NONE ?Lcom/google/javascript/jscomp/DependencyOptions$DependencyMode; PRUNE_LEGACY PRUNE PRUNE_ALLOW_NO_ENTRY_POINTS 8com/google/javascript/jscomp/AutoValue_DependencyOptions
! " # 'com/google/common/collect/ImmutableList of +()Lcom/google/common/collect/ImmutableList;
% & k(Lcom/google/javascript/jscomp/DependencyOptions$DependencyMode;Lcom/google/common/collect/ImmutableList;)V ( ) SORT_ONLY
+ , - copyOf ?(Ljava/lang/Iterable;)Lcom/google/common/collect/ImmutableList;
/ 0 1 2 3 #com/google/common/collect/Iterables isEmpty (Ljava/lang/Iterable;)Z 5 6DependencyMode.PRUNE requires at least one entry point
7 8 9 : ; $com/google/common/base/Preconditions
checkState (ZLjava/lang/Object;)V = > ? 2 @ java/util/List ()Z B /com/google/javascript/jscomp/FlagUsageException D 3--only_closure_dependencies requires --entry_point.
A F G (Ljava/lang/String;)V I /--dependency_mode=PRUNE requires --entry_point. K L M makeConcatWithConstants S(Lcom/google/javascript/jscomp/DependencyOptions$DependencyMode;)Ljava/lang/String; O 8--closure_entry_point cannot be used with --entry_point. Q [--common_js_entry_module cannot be used with either --entry_point or --closure_entry_point. S N--only_closure_dependencies cannot be used with --manage_closure_dependencies. U D--manage_closure_dependencies cannot be used with --dependency_mode. W B--only_closure_dependencies cannot be used with --dependency_mode.
Y Z [ builder 3()Lcom/google/common/collect/ImmutableList$Builder;
] ^ _ ` a -com/google/javascript/jscomp/ModuleIdentifier forFile C(Ljava/lang/String;)Lcom/google/javascript/jscomp/ModuleIdentifier;
c d e f g /com/google/common/collect/ImmutableList$Builder add E(Ljava/lang/Object;)Lcom/google/common/collect/ImmutableList$Builder; = i j k iterator ()Ljava/util/Iterator; m n o p @ java/util/Iterator hasNext m r s t next ()Ljava/lang/Object; v java/lang/String
] x y a forFlagValue
] { | a
forClosure ~ ? ? ? 0com/google/javascript/jscomp/DependencyOptions$1 H$SwitchMap$com$google$javascript$jscomp$DependencyOptions$DependencyMode [I
? ? ? ordinal ()I
? ? ? none 2()Lcom/google/javascript/jscomp/DependencyOptions;
? ? ? sortOnly
c ? ? # build
? ? ? pruneLegacyForEntryPoints F(Ljava/lang/Iterable;)Lcom/google/javascript/jscomp/DependencyOptions;
? ? ? pruneAllowNoEntryPoints
? ? ? pruneForEntryPoints ? java/lang/AssertionError ? Invalid DependencyMode
? ? ? (Ljava/lang/Object;)V ? java/io/Serializable Code LineNumberTable LocalVariableTable this 0Lcom/google/javascript/jscomp/DependencyOptions; getEntryPoints Signature \()Lcom/google/common/collect/ImmutableList; needsManagement
StackMapTable
shouldSort shouldPrune shouldDropMoochers entryPoints Ljava/lang/Iterable; LocalVariableTypeTable ELjava/lang/Iterable; MethodParameters
Deprecated w(Ljava/lang/Iterable;)Lcom/google/javascript/jscomp/DependencyOptions; RuntimeVisibleAnnotations Ljava/lang/Deprecated; fromFlags ?(Lcom/google/javascript/jscomp/DependencyOptions$DependencyMode;Ljava/util/List;Ljava/util/List;Ljava/lang/String;ZZ)Lcom/google/javascript/jscomp/DependencyOptions; dependencyMode
entryPoint Ljava/lang/String; closureEntryPoint dependencyModeFlag entryPointFlag Ljava/util/List; closureEntryPointFlag commonJsEntryModuleFlag manageClosureDependenciesFlag Z onlyClosureDependenciesFlag
hasEntryPoint entryPointsBuilder 1Lcom/google/common/collect/ImmutableList$Builder; $Ljava/util/List; bLcom/google/common/collect/ImmutableList$Builder; ?(Lcom/google/javascript/jscomp/DependencyOptions$DependencyMode;Ljava/util/List;Ljava/util/List;Ljava/lang/String;ZZ)Lcom/google/javascript/jscomp/DependencyOptions; RuntimeVisibleTypeAnnotations #Lorg/jspecify/annotations/Nullable;
SourceFile DependencyOptions.java -Lcom/google/errorprone/annotations/Immutable; RuntimeInvisibleAnnotations !Lcom/google/auto/value/AutoValue; NestMembers BootstrapMethods ?
? ? ? L ? $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; ? i--dependency_mode= cannot be used with --entry_point, --closure_entry_point or --common_js_entry_module. InnerClasses DependencyMode Builder ? %java/lang/invoke/MethodHandles$Lookup ? java/lang/invoke/MethodHandles Lookup! ?
? / *? ? ? + ? ? ? ? # ? ? ? @ ? E *? ?
? ? ? ? [ ? ? ? ? @ ? @ ? E *? ?
? ? ? ? e ? ? ? ? @ ? @ ? f $*? ? ? *? ? ?
*? ? ? ? ? ? o p q # o ? $ ? ? ? @ ? @ ? X *? ? ?
*? ? ? ? ? ? } ~ } ? ? ? ? @ ? ? ? &