610611612613614615616617618619620
} catch (Exception e) { } } public void testIllegalFieldInsnPrimitiveDesc() { MethodVisitor mv = new CheckMethodAdapter(new EmptyVisitor()); mv.visitCode(); try { mv.visitFieldInsn(GETFIELD, "C", "i", "II"); fail(); } catch (Exception e) {
620621622623624625626627628629630
} catch (Exception e) { } } public void testIllegalFieldInsnArrayDesc() { MethodVisitor mv = new CheckMethodAdapter(new EmptyVisitor()); mv.visitCode(); try { mv.visitFieldInsn(GETFIELD, "C", "i", "["); fail(); } catch (Exception e) {
630631632633634635636637638639640
} catch (Exception e) { } } public void testIllegalFieldInsnReferenceDesc() { MethodVisitor mv = new CheckMethodAdapter(new EmptyVisitor()); mv.visitCode(); try { mv.visitFieldInsn(GETFIELD, "C", "i", "L"); fail(); } catch (Exception e) {
640641642643644645646647648649650
} catch (Exception e) { } } public void testIllegalFieldInsnReferenceDesc2() { MethodVisitor mv = new CheckMethodAdapter(new EmptyVisitor()); mv.visitCode(); try { mv.visitFieldInsn(GETFIELD, "C", "i", "L-;"); fail(); } catch (Exception e) {
650651652653654655656657658659660
} catch (Exception e) { } } public void testIllegalMethodInsnNullName() { MethodVisitor mv = new CheckMethodAdapter(new EmptyVisitor()); mv.visitCode(); try { mv.visitMethodInsn(INVOKEVIRTUAL, "C", null, "()V"); fail(); } catch (Exception e) {
660661662663664665666667668669670
} catch (Exception e) { } } public void testIllegalMethodInsnName() { MethodVisitor mv = new CheckMethodAdapter(new EmptyVisitor()); mv.visitCode(); try { mv.visitMethodInsn(INVOKEVIRTUAL, "C", "-", "()V"); fail(); } catch (Exception e) {
670671672673674675676677678679680
} catch (Exception e) { } } public void testIllegalMethodInsnName2() { MethodVisitor mv = new CheckMethodAdapter(new EmptyVisitor()); mv.visitCode(); try { mv.visitMethodInsn(INVOKEVIRTUAL, "C", "a-", "()V"); fail(); } catch (Exception e) {
680681682683684685686687688689690
} catch (Exception e) { } } public void testIllegalMethodInsnNullDesc() { MethodVisitor mv = new CheckMethodAdapter(new EmptyVisitor()); mv.visitCode(); try { mv.visitMethodInsn(INVOKEVIRTUAL, "C", "m", null); fail(); } catch (Exception e) {
690691692693694695696697698699700
} catch (Exception e) { } } public void testIllegalMethodInsnDesc() { MethodVisitor mv = new CheckMethodAdapter(new EmptyVisitor()); mv.visitCode(); try { mv.visitMethodInsn(INVOKEVIRTUAL, "C", "m", "I"); fail(); } catch (Exception e) {
700701702703704705706707708709710
} catch (Exception e) { } } public void testIllegalMethodInsnParameterDesc() { MethodVisitor mv = new CheckMethodAdapter(new EmptyVisitor()); mv.visitCode(); try { mv.visitMethodInsn(INVOKEVIRTUAL, "C", "m", "(V)V"); fail(); } catch (Exception e) {