Package com.squareup.javapoet
Class AnnotationSpec.Builder
java.lang.Object
com.squareup.javapoet.AnnotationSpec.Builder
- Enclosing class:
AnnotationSpec
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) AnnotationSpec.Builder
addMemberForValue
(String memberName, Object value) Delegates toaddMember(String, String, Object...)
, with parameterformat
depending on the givenvalue
object.build()
-
Field Details
-
type
-
members
-
-
Constructor Details
-
Builder
-
-
Method Details
-
addMember
-
addMember
-
addMemberForValue
Delegates toaddMember(String, String, Object...)
, with parameterformat
depending on the givenvalue
object. Falls back to"$L"
literal format if the class of the givenvalue
object is not supported. -
build
-