modify CFGBuilder

add methodDeclaration to Java CFG in the end of building