Skip to content

Commit

Permalink
NormalAnnotationExpr: addPair should allow any expression as a value.
Browse files Browse the repository at this point in the history
  • Loading branch information
marcus-nl committed Jun 7, 2018
1 parent 70c9442 commit cdb6bf8
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -109,7 +109,7 @@ public NormalAnnotationExpr addPair(String key, String value) {
*
* @return this, the {@link NormalAnnotationExpr}
*/
public NormalAnnotationExpr addPair(String key, NameExpr value) {
public NormalAnnotationExpr addPair(String key, Expression value) {
MemberValuePair memberValuePair = new MemberValuePair(key, value);
getPairs().add(memberValuePair);
return this;
Expand Down

0 comments on commit cdb6bf8

Please sign in to comment.