com.squareup.javapoet.AnnotationSpec.class Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of java-sdk Show documentation
Show all versions of java-sdk Show documentation
Java SDK for connecting to the Relayr Cloud
The newest version!
???? 3?
k ?
?
Y ? k ?
Y ?
? ? k ? ? ? ? ? ? ? ? ?
e ? ? ? ? ? ? ? ? ? ?
k ? ?
e ? ?
?
?
?
e ? ? ? ? ? ? ? ? ? ? ? " ? "
e ?
e ?
k >
k
2 ?
Y
k
Y !
"#
C$
Y%&'()*
+,
k-.
N ?&/ ?01 R2
?3 U45
?67
Y8
+9:;
\< ?=
k ?
>?
>@A
c ?B
eC
c ?DE
i ?F Visitor InnerClasses Builder type Lcom/squareup/javapoet/TypeName; members Ljava/util/Map; Signature VLjava/util/Map;>; 1(Lcom/squareup/javapoet/AnnotationSpec$Builder;)V Code LineNumberTable LocalVariableTable this &Lcom/squareup/javapoet/AnnotationSpec; builder .Lcom/squareup/javapoet/AnnotationSpec$Builder; emit &(Lcom/squareup/javapoet/CodeWriter;Z)V entry Entry Ljava/util/Map$Entry; i Ljava/util/Iterator;
codeWriter "Lcom/squareup/javapoet/CodeWriter; inline Z
whitespace Ljava/lang/String; memberSeparator LocalVariableTypeTable \Ljava/util/Map$Entry;>; rLjava/util/Iterator;>;>;
StackMapTableGH
Exceptions emitAnnotationValues Y(Lcom/squareup/javapoet/CodeWriter;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;)V codeBlock !Lcom/squareup/javapoet/CodeBlock; values Ljava/util/List; first 3Ljava/util/List; |(Lcom/squareup/javapoet/CodeWriter;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;)V get I(Ljava/lang/annotation/Annotation;)Lcom/squareup/javapoet/AnnotationSpec;
annotation !Ljava/lang/annotation/Annotation; J(Ljava/lang/annotation/Annotation;Z)Lcom/squareup/javapoet/AnnotationSpec; I value Ljava/lang/Object; method Ljava/lang/reflect/Method; methods [Ljava/lang/reflect/Method; e Ljava/lang/Exception; includeDefaultValues7 ?I ? S(Ljavax/lang/model/element/AnnotationMirror;)Lcom/squareup/javapoet/AnnotationSpec; name *Ljavax/lang/model/element/AnnotationValue; executableElement ,Ljavax/lang/model/element/ExecutableElement; +Ljavax/lang/model/element/AnnotationMirror; element &Ljavax/lang/model/element/TypeElement; visitor .Lcom/squareup/javapoet/AnnotationSpec$Visitor;J*. Q(Lcom/squareup/javapoet/ClassName;)Lcom/squareup/javapoet/AnnotationSpec$Builder; !Lcom/squareup/javapoet/ClassName; A(Ljava/lang/Class;)Lcom/squareup/javapoet/AnnotationSpec$Builder; Ljava/lang/Class; Ljava/lang/Class<*>; D(Ljava/lang/Class<*>;)Lcom/squareup/javapoet/AnnotationSpec$Builder; toBuilder 0()Lcom/squareup/javapoet/AnnotationSpec$Builder; equals (Ljava/lang/Object;)Z o hashCode ()I toString ()Ljava/lang/String; Ljava/io/IOException; out Ljava/io/StringWriter;FAD Y(Lcom/squareup/javapoet/AnnotationSpec$Builder;Lcom/squareup/javapoet/AnnotationSpec$1;)V x0 x1 (Lcom/squareup/javapoet/AnnotationSpec$1;
SourceFile AnnotationSpec.java u v uKLM o pNOPQR q r
, ,
STU @$T java/lang/Object ~VW ?X ? @$T( ?Y java/util/List ? ? ) ~Z java/lang/StringBuilder[\ ? ?]^_`abcHdUef java/util/Map$Entry $L = gfhfi^ ?j com/squareup/javapoet/CodeBlock ~k { } ? ?lm | ?nop &com/squareup/javapoet/AnnotationSpec$1qrsItuvfwxyzm{U|}~ ? ???? java/lang/annotation/Annotation $L ? ??? java/lang/Exception java/lang/RuntimeException Reflecting [? failed! u???J????? $javax/lang/model/element/TypeElement? ?? | ? ,com/squareup/javapoet/AnnotationSpec$Visitor???` *javax/lang/model/element/ExecutableElement?? (javax/lang/model/element/AnnotationValue?? type == null?? ,com/squareup/javapoet/AnnotationSpec$Builder u? ?? java/util/ArrayList java/util/Collection u???G ? ? ? ? java/io/StringWriter com/squareup/javapoet/CodeWriter u? java/io/IOException java/lang/AssertionError $com/squareup/javapoet/AnnotationSpec java/lang/String java/util/Iterator java/lang/reflect/Method )javax/lang/model/element/AnnotationMirror ()V
access$000 P(Lcom/squareup/javapoet/AnnotationSpec$Builder;)Lcom/squareup/javapoet/TypeName;
access$100 ?(Lcom/squareup/javapoet/AnnotationSpec$Builder;)Ljava/util/Map; com/squareup/javapoet/Util immutableMultimap (Ljava/util/Map;)Ljava/util/Map;
java/util/Map isEmpty ()Z I(Ljava/lang/String;[Ljava/lang/Object;)Lcom/squareup/javapoet/CodeWriter; size containsKey &(Ljava/lang/Object;)Ljava/lang/Object; 6(Ljava/lang/String;)Lcom/squareup/javapoet/CodeWriter; append -(Ljava/lang/String;)Ljava/lang/StringBuilder; indent %(I)Lcom/squareup/javapoet/CodeWriter; entrySet ()Ljava/util/Set;
java/util/Set iterator ()Ljava/util/Iterator; hasNext next ()Ljava/lang/Object; getKey getValue unindent (I)Ljava/lang/Object; E(Lcom/squareup/javapoet/CodeBlock;)Lcom/squareup/javapoet/CodeWriter; annotationType ()Ljava/lang/Class; java/lang/Class getDeclaredMethods ()[Ljava/lang/reflect/Method; java/util/Arrays sort ,([Ljava/lang/Object;Ljava/util/Comparator;)V invoke 9(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; getDefaultValue java/util/Objects
deepEquals '(Ljava/lang/Object;Ljava/lang/Object;)Z getClass isArray java/lang/reflect/Array getLength (Ljava/lang/Object;)I getName '(Ljava/lang/Object;I)Ljava/lang/Object; addMemberForValue T(Ljava/lang/String;Ljava/lang/Object;)Lcom/squareup/javapoet/AnnotationSpec$Builder; addMember g(Ljava/lang/String;Ljava/lang/String;[Ljava/lang/Object;)Lcom/squareup/javapoet/AnnotationSpec$Builder; -(Ljava/lang/Object;)Ljava/lang/StringBuilder; *(Ljava/lang/String;Ljava/lang/Throwable;)V build (()Lcom/squareup/javapoet/AnnotationSpec; getAnnotationType &()Ljavax/lang/model/type/DeclaredType; "javax/lang/model/type/DeclaredType asElement $()Ljavax/lang/model/element/Element; com/squareup/javapoet/ClassName I(Ljavax/lang/model/element/TypeElement;)Lcom/squareup/javapoet/ClassName; getElementValues ()Ljava/util/Map; keySet
getSimpleName !()Ljavax/lang/model/element/Name; accept W(Ljavax/lang/model/element/AnnotationValueVisitor;Ljava/lang/Object;)Ljava/lang/Object; checkNotNull K(Ljava/lang/Object;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/Object; K(Lcom/squareup/javapoet/TypeName;Lcom/squareup/javapoet/AnnotationSpec$1;)V 4(Ljava/lang/Class;)Lcom/squareup/javapoet/ClassName; (Ljava/util/Collection;)V put 8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; (Ljava/lang/Appendable;)V 1 k o p q r s t
u v w X *? *+? ? *+? ? ? ? x 0 1 2 3 y z { | } ~ w + 0? ? N?
? :*? ? ? +
? Y*? S? W? ?*? ? ? C*? ? ? 5+? Y*? S? W*+-*? ? ? ? +? W? ?+? Y? ? -? ? ? Y*? S? W+? W*? ? ? :? ? J? ! ? ":+#? Y? $ S? W*+-? % ? ? ? ?
+? W???+? &W+? Y? -? ? ? ? W? x R 6 7 8 % : : ; U = g > } ? ? I ? J ? K ? L ? M ? N ? O ? P Q R S/ U y H ? 8 ? ? ? Q ? ? 0 z { 0 ? ? 0 ? ? $ ? ? ? ? ? ? 8 ? ? ? Q ? ? ? '
A ?? ?A ?? " ?? L? 8 ?? M? ? h ? ? w l ?? ' ? +? W+? ( ? )? *W+? &W?+? Y? +? ,? ? ? W+? W6? , :? ? '? ! ? ):? +-? W+? *W6???+? &W+? Y? ,? -? ? ? W? x B Y Z [ ! \ ' ] ( ` @ a F b I c h d s e z f } g ? h ? i ? j y H h ? ? ? z { ? ? ? ? ? ? ? ? ? ? ? ? I V ? ? ? ? ? ? ? (? ) ?? ?? ? h s ? ? ? w 0 *? .? x m y ? ? ? ? w ?
?*? / ? 0M*? / ? 1N-? 2Y? 3? 4-:?66? ?2:*? ? 5:? ? 6? 7? ? g? 8? 9? *6 ? :? ,? ; ?