625626627628629630631632633634635
} catch (Exception e) { } } public void testIllegalFieldInsnName() { MethodVisitor mv = new CheckMethodAdapter(new EmptyVisitor()); mv.visitCode(); try { mv.visitFieldInsn(GETFIELD, "C", "-", "I"); fail(); } catch (Exception e) {
635636637638639640641642643644645
} catch (Exception e) { } } public void testIllegalFieldInsnName2() { MethodVisitor mv = new CheckMethodAdapter(new EmptyVisitor()); mv.visitCode(); try { mv.visitFieldInsn(GETFIELD, "C", "a-", "I"); fail();
646647648649650651652653654655656
} catch (Exception e) { } } public void testIllegalFieldInsnNullDesc() { MethodVisitor mv = new CheckMethodAdapter(new EmptyVisitor()); mv.visitCode(); try { mv.visitFieldInsn(GETFIELD, "C", "i", null); fail(); } catch (Exception e) {
656657658659660661662663664665666
} catch (Exception e) { } } public void testIllegalFieldInsnVoidDesc() { MethodVisitor mv = new CheckMethodAdapter(new EmptyVisitor()); mv.visitCode(); try { mv.visitFieldInsn(GETFIELD, "C", "i", "V"); fail(); } catch (Exception e) {
666667668669670671672673674675676
} 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) {
676677678679680681682683684685686
} catch (Exception e) { } } public void testIllegalFieldInsnArrayDesc() { MethodVisitor mv = new CheckMethodAdapter(new EmptyVisitor()); mv.visitCode(); try { mv.visitFieldInsn(GETFIELD, "C", "i", "["); fail(); } catch (Exception e) {
686687688689690691692693694695696
} 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) {
696697698699700701702703704705706
} 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) {
706707708709710711712713714715716
} 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) {
716717718719720721722723724725726
} catch (Exception e) { } } public void testIllegalMethodInsnName() { MethodVisitor mv = new CheckMethodAdapter(new EmptyVisitor()); mv.visitCode(); try { mv.visitMethodInsn(INVOKEVIRTUAL, "C", "-", "()V"); fail(); } catch (Exception e) {