Lines Matching defs:cw
72 private final ClassWriter cw;
122 * @param cw
134 AnnotationWriter(final ClassWriter cw, final boolean named,
137 this.cw = cw;
152 bv.putShort(cw.newUTF8(name));
155 bv.put12('s', cw.newUTF8((String) value));
157 bv.put12('B', cw.newInteger(((Byte) value).byteValue()).index);
160 bv.put12('Z', cw.newInteger(v).index);
162 bv.put12('C', cw.newInteger(((Character) value).charValue()).index);
164 bv.put12('S', cw.newInteger(((Short) value).shortValue()).index);
166 bv.put12('c', cw.newUTF8(((Type) value).getDescriptor()));
171 bv.put12('B', cw.newInteger(v[i]).index);
177 bv.put12('Z', cw.newInteger(v[i] ? 1 : 0).index);
183 bv.put12('S', cw.newInteger(v[i]).index);
189 bv.put12('C', cw.newInteger(v[i]).index);
195 bv.put12('I', cw.newInteger(v[i]).index);
201 bv.put12('J', cw.newLong(v[i]).index);
207 bv.put12('F', cw.newFloat(v[i]).index);
213 bv.put12('D', cw.newDouble(v[i]).index);
216 Item i = cw.newConstItem(value);
226 bv.putShort(cw.newUTF8(name));
228 bv.put12('e', cw.newUTF8(desc)).putShort(cw.newUTF8(value));
236 bv.putShort(cw.newUTF8(name));
239 bv.put12('@', cw.newUTF8(desc)).putShort(0);
240 return new AnnotationWriter(cw, true, bv, bv, bv.length - 2);
247 bv.putShort(cw.newUTF8(name));
251 return new AnnotationWriter(cw, false, bv, bv, bv.length - 2);