com.google.javascript.jscomp.JSError$Builder.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 ? $com/google/javascript/jscomp/JSError
java/lang/Object ()V
DEFAULT_NODE "Lcom/google/javascript/rhino/Node; ,com/google/javascript/jscomp/JSError$Builder n DEFAULT_SOURCENAME Ljava/lang/String;
sourceName lineno I charno ! " length $ % & DEFAULT_REQUIREMENT *Lcom/google/javascript/jscomp/Requirement; ( ) & requirement + , - type -Lcom/google/javascript/jscomp/DiagnosticType; / 0 1 args [Ljava/lang/String; 3 4 5 6 7 +com/google/javascript/jscomp/DiagnosticType level )Lcom/google/javascript/jscomp/CheckLevel; 4
: ; < = > java/util/Objects equals '(Ljava/lang/Object;Ljava/lang/Object;)Z @ 8Cannot provide a Node when there's already a source name
B C D E F $com/google/common/base/Preconditions
checkState (ZLjava/lang/Object;)V
H I J K L com/google/javascript/rhino/Node getSourceFileName ()Ljava/lang/String;
H N O P getLineno ()I
H R S P getCharno
H U V P getLength
H X Y P getSourceOffset
B [ \ ] checkNotNull &(Ljava/lang/Object;)Ljava/lang/Object; _ 'com/google/javascript/jscomp/CheckLevel a (com/google/javascript/jscomp/Requirement c =Cannot provide a source location when there is already a Node e .com/google/javascript/jscomp/AutoValue_JSError
3 g h i format '([Ljava/lang/String;)Ljava/lang/String;
d k l ?(Lcom/google/javascript/jscomp/DiagnosticType;Ljava/lang/String;Ljava/lang/String;IIILcom/google/javascript/rhino/Node;Lcom/google/javascript/jscomp/CheckLevel;Lcom/google/javascript/jscomp/Requirement;)V C(Lcom/google/javascript/jscomp/DiagnosticType;[Ljava/lang/String;)V Code LineNumberTable LocalVariableTable this .Lcom/google/javascript/jscomp/JSError$Builder; MethodParameters setNode R(Lcom/google/javascript/rhino/Node;)Lcom/google/javascript/jscomp/JSError$Builder; RuntimeInvisibleAnnotations 8Lcom/google/errorprone/annotations/CanIgnoreReturnValue; setNodeRange t(Lcom/google/javascript/rhino/Node;Lcom/google/javascript/rhino/Node;)Lcom/google/javascript/jscomp/JSError$Builder; start end endOffset startOffset
StackMapTable setLevel Y(Lcom/google/javascript/jscomp/CheckLevel;)Lcom/google/javascript/jscomp/JSError$Builder; setRequirement Z(Lcom/google/javascript/jscomp/Requirement;)Lcom/google/javascript/jscomp/JSError$Builder; setSourceLocation D(Ljava/lang/String;II)Lcom/google/javascript/jscomp/JSError$Builder; build (()Lcom/google/javascript/jscomp/JSError;
SourceFile JSError.java NestHost InnerClasses Builder 0 , - 0 1 6 7 " ) &