public final class AnnotationSpec extends Object
Modifier and Type | Class and Description |
---|---|
static class |
AnnotationSpec.Builder |
Modifier and Type | Field and Description |
---|---|
Map<String,List<CodeBlock>> |
members |
TypeName |
type |
Modifier and Type | Method and Description |
---|---|
static AnnotationSpec.Builder |
builder(Class<?> type) |
static AnnotationSpec.Builder |
builder(ClassName type) |
boolean |
equals(Object o) |
static AnnotationSpec |
get(AnnotationMirror annotation) |
int |
hashCode() |
AnnotationSpec.Builder |
toBuilder() |
String |
toString() |
public final TypeName type
public static AnnotationSpec get(AnnotationMirror annotation)
public static AnnotationSpec.Builder builder(ClassName type)
public static AnnotationSpec.Builder builder(Class<?> type)
public AnnotationSpec.Builder toBuilder()
Copyright © 2015 Square, Inc.. All Rights Reserved.