List of usage examples for org.aspectj.apache.bcel.generic MethodGen getConstantPool
public ConstantPool getConstantPool()
From source file:br.jabuti.graph.datastructure.dug.CFG.java
License:Open Source License
/** * Construct a CFG for a given method passed as argument. * * @param mg The method for which the CFG will be created. * @throws InvalidInstructionException If {@link CFG#createFromCode} throws this exception * @throws InvalidStackArgument If {@link CFG#createFromCode} throws this exception */// ww w . j a v a 2 s .c o m public CFG(MethodGen mg, ClassGen cl) throws InvalidInstructionException, InvalidStackArgument { super(); createFromCode(mg, cl, mg.getConstantPool()); computeDefUse(); releaseInstructionGraph(); }