Skip to content

Commit

Permalink
Add value constant in AnnotationSpec
Browse files Browse the repository at this point in the history
  • Loading branch information
dsinghvi authored Apr 19, 2022
1 parent 47e45db commit 70ef9bd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/java/com/squareup/javapoet/AnnotationSpec.java
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@

/** A generated annotation on a declaration. */
public final class AnnotationSpec {
public static final String VALUE = "value";

public final TypeName type;
public final Map<String, List<CodeBlock>> members;

Expand Down

0 comments on commit 70ef9bd

Please sign in to comment.