List of usage examples for org.objectweb.asm Opcodes T_FLOAT
int T_FLOAT
To view the source code for org.objectweb.asm Opcodes T_FLOAT.
Click Source Link
From source file:v6.java.preverifier.PreverifierMethodNode.java
License:Open Source License
/** * @see org.objectweb.asm.MethodVisitor#visitIntInsn(int, int) *//*from w ww . ja v a 2 s. c o m*/ public void visitIntInsn(int opcode, int operand) { if (opcode == Opcodes.NEWARRAY) { if ((operand == Opcodes.T_DOUBLE) || (operand == Opcodes.T_FLOAT)) { ClassNodeErrorInformation classInfo = new ClassNodeErrorInformation(classNode); MethodNodeErrorInformation methodInfo = new MethodNodeErrorInformation(classInfo, this); PreverificationErrorLocation location = new PreverificationErrorLocation( PreverificationErrorLocationType.METHOD_INSTRUCTION, classInfo, methodInfo, null, lineNumber); PreverificationError error = new PreverificationError(PreverificationErrorType.FLOATING_POINT, location, null); addError(error); } } super.visitIntInsn(opcode, operand); }