Lines Matching defs:cw

151     final ClassWriter cw;
182 * the ClassReader associated to this writer in <code>cw.cr</code>. More
184 * <code>cw.cr.b</code>.
190 * the ClassReader associated to this writer in <code>cw.cr</code>. More
192 * <code>cw.cr.b</code>.
461 * @param cw
481 MethodWriter(final ClassWriter cw, final int access, final String name,
486 if (cw.firstMethod == null) {
487 cw.firstMethod = this;
489 cw.lastMethod.mv = this;
491 cw.lastMethod = this;
492 this.cw = cw;
497 this.name = cw.newUTF8(name);
498 this.desc = cw.newUTF8(desc);
507 this.exceptions[i] = cw.newClass(exceptions[i]);
536 methodParameters.putShort((name == null) ? 0 : cw.newUTF8(name))
546 return new AnnotationWriter(cw, false, annd, null, 0);
557 bv.putShort(cw.newUTF8(desc)).putShort(0);
558 AnnotationWriter aw = new AnnotationWriter(cw, true, bv, bv, 2);
579 bv.putShort(cw.newUTF8(desc)).putShort(0);
580 AnnotationWriter aw = new AnnotationWriter(cw, true, bv, bv,
603 return new AnnotationWriter(cw, false, bv, null, 0);
606 bv.putShort(cw.newUTF8(desc)).putShort(0);
607 AnnotationWriter aw = new AnnotationWriter(cw, true, bv, bv, 2);
655 | cw.addType((String) local[i]);
660 | cw.addUninitializedType("",
667 | cw.addType((String) stack[i]);
672 | cw.addUninitializedType("",
855 Item i = cw.newClassItem(type);
859 currentBlock.frame.execute(opcode, code.length, cw, i);
878 Item i = cw.newFieldItem(owner, name, desc);
882 currentBlock.frame.execute(opcode, 0, cw, i);
917 Item i = cw.newMethodItem(owner, name, desc, itf);
922 currentBlock.frame.execute(opcode, 0, cw, i);
969 Item i = cw.newInvokeDynamicItem(name, desc, bsm, bsmArgs);
974 currentBlock.frame.execute(Opcodes.INVOKEDYNAMIC, 0, cw, i);
1155 Item i = cw.newConstItem(cst);
1159 currentBlock.frame.execute(Opcodes.LDC, 0, cw, i);
1274 Item i = cw.newClassItem(desc);
1278 currentBlock.frame.execute(Opcodes.MULTIANEWARRAY, dims, cw, i);
1300 bv.putShort(cw.newUTF8(desc)).putShort(0);
1301 AnnotationWriter aw = new AnnotationWriter(cw, true, bv, bv,
1322 h.type = type != null ? cw.newClass(type) : 0;
1341 bv.putShort(cw.newUTF8(desc)).putShort(0);
1342 AnnotationWriter aw = new AnnotationWriter(cw, true, bv, bv,
1365 .putShort(cw.newUTF8(name)).putShort(cw.newUTF8(signature))
1374 .putShort(cw.newUTF8(name)).putShort(cw.newUTF8(desc))
1408 bv.putShort(cw.newUTF8(desc)).putShort(0);
1409 AnnotationWriter aw = new AnnotationWriter(cw, true, bv, bv,
1451 int kind = Frame.OBJECT | cw.addType(t);
1472 f.initInputFrame(cw, access, args, this.maxLocals);
1504 boolean change = f.merge(cw, n.frame, e.info);
1538 | cw.addType("java/lang/Throwable");
1790 frame[frameIndex++] = Frame.OBJECT | cw.addType(cw.thisName);
1826 | cw.addType(descriptor.substring(j, ++i));
1833 | cw.addType(descriptor.substring(j + 1, i++));
1888 if ((cw.version & 0xFFFF) < Opcodes.V1_6) {
1989 cw.newClass(cw.typeTable[v].strVal1));
1992 stackMap.putByte(8).putShort(cw.typeTable[v].intVal);
2005 sb.append(cw.typeTable[t & Frame.BASE_VALUE].strVal1);
2034 stackMap.putByte(7).putShort(cw.newClass(sb.toString()));
2041 stackMap.putByte(7).putShort(cw.newClass((String) type));
2067 cw.newUTF8("Code");
2070 cw.newUTF8("LocalVariableTable");
2074 cw.newUTF8("LocalVariableTypeTable");
2078 cw.newUTF8("LineNumberTable");
2082 boolean zip = (cw.version & 0xFFFF) >= Opcodes.V1_6;
2083 cw.newUTF8(zip ? "StackMapTable" : "StackMap");
2087 cw.newUTF8("RuntimeVisibleTypeAnnotations");
2091 cw.newUTF8("RuntimeInvisibleTypeAnnotations");
2095 size += cattrs.getSize(cw, code.data, code.length, maxStack,
2100 cw.newUTF8("Exceptions");
2104 if ((cw.version & 0xFFFF) < Opcodes.V1_5
2106 cw.newUTF8("Synthetic");
2111 cw.newUTF8("Deprecated");
2115 cw.newUTF8("Signature");
2116 cw.newUTF8(signature);
2120 cw.newUTF8("MethodParameters");
2124 cw.newUTF8("AnnotationDefault");
2128 cw.newUTF8("RuntimeVisibleAnnotations");
2132 cw.newUTF8("RuntimeInvisibleAnnotations");
2136 cw.newUTF8("RuntimeVisibleTypeAnnotations");
2140 cw.newUTF8("RuntimeInvisibleTypeAnnotations");
2144 cw.newUTF8("RuntimeVisibleParameterAnnotations");
2151 cw.newUTF8("RuntimeInvisibleParameterAnnotations");
2158 size += attrs.getSize(cw, null, 0, -1, -1);
2177 out.putByteArray(cw.cr.b, classReaderOffset, classReaderLength);
2188 if ((cw.version & 0xFFFF) < Opcodes.V1_5
2248 size += cattrs.getSize(cw, code.data, code.length, maxStack,
2251 out.putShort(cw.newUTF8("Code")).putInt(size);
2287 out.putShort(cw.newUTF8("LocalVariableTable"));
2292 out.putShort(cw.newUTF8("LocalVariableTypeTable"));
2297 out.putShort(cw.newUTF8("LineNumberTable"));
2302 boolean zip = (cw.version & 0xFFFF) >= Opcodes.V1_6;
2303 out.putShort(cw.newUTF8(zip ? "StackMapTable" : "StackMap"));
2308 out.putShort(cw.newUTF8("RuntimeVisibleTypeAnnotations"));
2312 out.putShort(cw.newUTF8("RuntimeInvisibleTypeAnnotations"));
2316 cattrs.put(cw, code.data, code.length, maxLocals, maxStack, out);
2320 out.putShort(cw.newUTF8("Exceptions")).putInt(
2328 if ((cw.version & 0xFFFF) < Opcodes.V1_5
2330 out.putShort(cw.newUTF8("Synthetic")).putInt(0);
2334 out.putShort(cw.newUTF8("Deprecated")).putInt(0);
2337 out.putShort(cw.newUTF8("Signature")).putInt(2)
2338 .putShort(cw.newUTF8(signature));
2341 out.putShort(cw.newUTF8("MethodParameters"));
2347 out.putShort(cw.newUTF8("AnnotationDefault"));
2352 out.putShort(cw.newUTF8("RuntimeVisibleAnnotations"));
2356 out.putShort(cw.newUTF8("RuntimeInvisibleAnnotations"));
2360 out.putShort(cw.newUTF8("RuntimeVisibleTypeAnnotations"));
2364 out.putShort(cw.newUTF8("RuntimeInvisibleTypeAnnotations"));
2368 out.putShort(cw.newUTF8("RuntimeVisibleParameterAnnotations"));
2372 out.putShort(cw.newUTF8("RuntimeInvisibleParameterAnnotations"));
2376 attrs.put(cw, null, 0, -1, -1, out);
2738 if (cw.typeTable != null) {
2739 for (i = 0; i < cw.typeTable.length; ++i) {
2740 Item item = cw.typeTable[i];
2763 cw.invalidFrames = true;