changeset 3530 | 18fb7507984b |
parent 2678 | 57cf2a1c1a05 |
--- a/jaxws/src/share/classes/com/sun/codemodel/internal/JAnnotationUse.java Wed Jul 05 16:58:00 2017 +0200 +++ b/jaxws/src/share/classes/com/sun/codemodel/internal/JAnnotationUse.java Fri Aug 07 11:27:00 2009 -0700 @@ -199,8 +199,7 @@ * */ public JAnnotationUse param(String name, Class value){ - addValue(name, new JAnnotationStringValue(JExpr.lit(value.getName()))); - return this; + return param(name,clazz.owner().ref(value)); } /**