Uses of Class
com.squareup.javapoet.AnnotationSpec
-
-
Uses of AnnotationSpec in com.squareup.javapoet
Fields in com.squareup.javapoet with type parameters of type AnnotationSpec Modifier and Type Field Description java.util.List<AnnotationSpec>
FieldSpec. annotations
java.util.List<AnnotationSpec>
FieldSpec.Builder. annotations
java.util.List<AnnotationSpec>
MethodSpec. annotations
java.util.List<AnnotationSpec>
MethodSpec.Builder. annotations
java.util.List<AnnotationSpec>
ParameterSpec. annotations
java.util.List<AnnotationSpec>
ParameterSpec.Builder. annotations
java.util.List<AnnotationSpec>
TypeName. annotations
java.util.List<AnnotationSpec>
TypeSpec. annotations
java.util.List<AnnotationSpec>
TypeSpec.Builder. annotations
Methods in com.squareup.javapoet that return AnnotationSpec Modifier and Type Method Description AnnotationSpec
AnnotationSpec.Builder. build()
static AnnotationSpec
AnnotationSpec. get(java.lang.annotation.Annotation annotation)
static AnnotationSpec
AnnotationSpec. get(java.lang.annotation.Annotation annotation, boolean includeDefaultValues)
static AnnotationSpec
AnnotationSpec. get(javax.lang.model.element.AnnotationMirror annotation)
Methods in com.squareup.javapoet that return types with arguments of type AnnotationSpec Modifier and Type Method Description protected java.util.List<AnnotationSpec>
TypeName. concatAnnotations(java.util.List<AnnotationSpec> annotations)
Methods in com.squareup.javapoet with parameters of type AnnotationSpec Modifier and Type Method Description FieldSpec.Builder
FieldSpec.Builder. addAnnotation(AnnotationSpec annotationSpec)
MethodSpec.Builder
MethodSpec.Builder. addAnnotation(AnnotationSpec annotationSpec)
ParameterSpec.Builder
ParameterSpec.Builder. addAnnotation(AnnotationSpec annotationSpec)
TypeSpec.Builder
TypeSpec.Builder. addAnnotation(AnnotationSpec annotationSpec)
TypeName
TypeName. annotated(AnnotationSpec... annotations)
Method parameters in com.squareup.javapoet with type arguments of type AnnotationSpec Modifier and Type Method Description FieldSpec.Builder
FieldSpec.Builder. addAnnotations(java.lang.Iterable<AnnotationSpec> annotationSpecs)
MethodSpec.Builder
MethodSpec.Builder. addAnnotations(java.lang.Iterable<AnnotationSpec> annotationSpecs)
ParameterSpec.Builder
ParameterSpec.Builder. addAnnotations(java.lang.Iterable<AnnotationSpec> annotationSpecs)
TypeSpec.Builder
TypeSpec.Builder. addAnnotations(java.lang.Iterable<AnnotationSpec> annotationSpecs)
ArrayTypeName
ArrayTypeName. annotated(java.util.List<AnnotationSpec> annotations)
ClassName
ClassName. annotated(java.util.List<AnnotationSpec> annotations)
ParameterizedTypeName
ParameterizedTypeName. annotated(java.util.List<AnnotationSpec> annotations)
TypeName
TypeName. annotated(java.util.List<AnnotationSpec> annotations)
TypeVariableName
TypeVariableName. annotated(java.util.List<AnnotationSpec> annotations)
WildcardTypeName
WildcardTypeName. annotated(java.util.List<AnnotationSpec> annotations)
protected java.util.List<AnnotationSpec>
TypeName. concatAnnotations(java.util.List<AnnotationSpec> annotations)
void
CodeWriter. emitAnnotations(java.util.List<AnnotationSpec> annotations, boolean inline)
Constructor parameters in com.squareup.javapoet with type arguments of type AnnotationSpec Constructor Description ArrayTypeName(TypeName componentType, java.util.List<AnnotationSpec> annotations)
ClassName(java.lang.String packageName, ClassName enclosingClassName, java.lang.String simpleName, java.util.List<AnnotationSpec> annotations)
TypeName(java.lang.String keyword, java.util.List<AnnotationSpec> annotations)
TypeName(java.util.List<AnnotationSpec> annotations)
-