com.google.javascript.jscomp.diagnostic.WritingLogFile.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/nio/file/Path getParent ()Ljava/nio/file/Path; %java/nio/file/attribute/FileAttribute
java/nio/file/Files createDirectories R(Ljava/nio/file/Path;[Ljava/nio/file/attribute/FileAttribute;)Ljava/nio/file/Path; !java/nio/charset/StandardCharsets UTF_8 Ljava/nio/charset/Charset;
java/nio/charset/Charset
newEncoder #()Ljava/nio/charset/CharsetEncoder; "java/nio/charset/CodingErrorAction REPLACE $Ljava/nio/charset/CodingErrorAction;
" # $ % & java/nio/charset/CharsetEncoder onMalformedInput G(Ljava/nio/charset/CodingErrorAction;)Ljava/nio/charset/CharsetEncoder;
" ( ) & onUnmappableCharacter + 6com/google/javascript/jscomp/diagnostic/WritingLogFile - java/io/BufferedWriter / java/io/OutputStreamWriter 1 java/nio/file/OpenOption 3 4 5 6 7 java/nio/file/StandardOpenOption CREATE "Ljava/nio/file/StandardOpenOption; 3 9 : 7 APPEND 3 < = 7 WRITE
? @ A newOutputStream G(Ljava/nio/file/Path;[Ljava/nio/file/OpenOption;)Ljava/io/OutputStream;
. C D E :(Ljava/io/OutputStream;Ljava/nio/charset/CharsetEncoder;)V
, G D H (Ljava/io/Writer;)V
* J D K (Ljava/io/BufferedWriter;)V M java/io/IOException O java/lang/RuntimeException
N Q D R (Ljava/lang/Throwable;)V
T U V D W /com/google/javascript/jscomp/diagnostic/LogFile ()V * Y Z [ writer Ljava/io/BufferedWriter;
] ^ _ ` a java/lang/Object toString ()Ljava/lang/String;
* c d e logInternal E(Ljava/lang/String;)Lcom/google/javascript/jscomp/diagnostic/LogFile; g h i j k java/util/function/Supplier get ()Ljava/lang/Object; m java/lang/String
l o p q format 9(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
s t u v w 0com/google/javascript/jscomp/diagnostic/LogsGson toJson &(Ljava/lang/Object;)Ljava/lang/String; y !com/google/gson/stream/JsonWriter
x G | } ~ ? Dcom/google/javascript/jscomp/diagnostic/LogFile$StreamedJsonProducer writeJson &(Lcom/google/gson/stream/JsonWriter;)V
x ? ? W close ? java/lang/Throwable
? ? ? R
addSuppressed ? java/lang/AssertionError
? ? D ? (Ljava/lang/Object;)V
, ? ? ? append *(Ljava/lang/CharSequence;)Ljava/io/Writer;
? ? ? ? ? java/io/Writer (C)Ljava/io/Writer;
, ? create G(Ljava/nio/file/Path;)Lcom/google/javascript/jscomp/diagnostic/LogFile; Code LineNumberTable LocalVariableTable dir Ljava/nio/file/Path; encoder !Ljava/nio/charset/CharsetEncoder; e Ljava/io/IOException; file
StackMapTable MethodParameters RuntimeInvisibleAnnotations 0Lcom/google/errorprone/annotations/MustBeClosed; this 8Lcom/google/javascript/jscomp/diagnostic/WritingLogFile; log E(Ljava/lang/Object;)Lcom/google/javascript/jscomp/diagnostic/LogFile; value Ljava/lang/Object; Ljava/lang/String; P(Ljava/util/function/Supplier;)Lcom/google/javascript/jscomp/diagnostic/LogFile; Ljava/util/function/Supplier; LocalVariableTypeTable 1Ljava/util/function/Supplier; Signature d(Ljava/util/function/Supplier;)Lcom/google/javascript/jscomp/diagnostic/LogFile; X(Ljava/lang/String;[Ljava/lang/Object;)Lcom/google/javascript/jscomp/diagnostic/LogFile; template values [Ljava/lang/Object; 0Lcom/google/errorprone/annotations/FormatMethod; $RuntimeInvisibleParameterAnnotations 0Lcom/google/errorprone/annotations/FormatString; logJson 1Ljava/util/function/Supplier; d(Ljava/util/function/Supplier;)Lcom/google/javascript/jscomp/diagnostic/LogFile; y(Lcom/google/javascript/jscomp/diagnostic/LogFile$StreamedJsonProducer;)Lcom/google/javascript/jscomp/diagnostic/LogFile; #Lcom/google/gson/stream/JsonWriter; ex producer FLcom/google/javascript/jscomp/diagnostic/LogFile$StreamedJsonProducer; 8Lcom/google/errorprone/annotations/CanIgnoreReturnValue; isLogging ()Z
SourceFile WritingLogFile.java InnerClasses StreamedJsonProducer 0 * T Z [ ? ? ? ? `*? L+? ? W? ? M,? ? !? ? 'W? *Y? ,Y? .Y*? 0Y? 2SY? 8SY? ;S? >,? B? F? I?L? NY+? P? U V L ? . / 0 1 5 6 ! 7 % 8 H ; U 8 V A W B ? * O ? ? ? ? ? W ? ? ` ? ? ? ? V L ? ? ? ? D K ? F
*? S*+? X? ? H I J ?
? ?
Z [ ? Z ? ? ? = *+? \? b? ? N ? ? ? ? ? ? ? ? e ? : *+? b? ? S ? ? ? ? ? ? ? ? ? ? T *+? f ? l? b? ? X ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? H
*+,? n? b? ? ^ ?
? ?
? ?
? ? ? ? ? ? ? ? ? ? ? ? = *+? r? b? ? c ? ? ? ? ? ? ? ? ? ? T *+? f ? r? b? ? h ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ;? xY*? X? zM+,? { ,? ?? N,? ?? :-? ?-??
M? ?Y,? ??*? ? " ? , / L ? " n o p n , r / p 0 q 9 s ? * Z ? 0 ? ? ; ? ? ; ? ? ? 4 ? * | x ?? * | x ? ?? B L ? ? ? ? d e ? ? *? X+? ?
? ?W?
M? NY,? P?*? L ? { ~ | } ? ? ? ? ? ? ? ? Q L ? ? ? ? ? W ? n *? X? ??
L? NY+? P??
L ? ? ?
? ? ? ? ? ? ? ? ? J L ? ? ? , ? ? ? ? ? ? ? ? ?
| T ?
© 2015 - 2024 Weber Informatics LLC | Privacy Policy