List of usage examples for org.objectweb.asm.tree.analysis AnalyzerException AnalyzerException
public AnalyzerException(final AbstractInsnNode insn, final String message)
From source file:edu.ubc.mirrors.holograms.FrameVerifier.java
License:Open Source License
@Override public FrameValue copyOperation(AbstractInsnNode insn, FrameValue value) throws AnalyzerException { if (value.isUninitialized()) { int opcode = insn.getOpcode(); if (opcode == ALOAD || opcode == ASTORE || (DUP <= opcode && opcode <= SWAP)) { return value; } else {/*from w w w. j a v a 2s . c om*/ throw new AnalyzerException(insn, "value"); } } return FrameValue.fromBasicValue(simplerVerifier.copyOperation(insn, value.getBasicValue())); }