Changed to get methodAnalyzer from flowblock

git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@1027 379699f6-c40d-0410-875b-85095c16579e
stable
jochen 26 years ago
parent 8d04ee0354
commit 5c969865db
  1. 2
      jode/jode/flow/CreateNewConstructor.java

@ -81,7 +81,7 @@ public class CreateNewConstructor {
return false; return false;
/* Okay everything checked. */ /* Okay everything checked. */
MethodAnalyzer methodAna = constr.getMethodAnalyzer(); MethodAnalyzer methodAna = ib.flowBlock.method;
Expression expr = ib.getInstruction(); Expression expr = ib.getInstruction();
Type appendType = appendCall.getMethodType().getParameterTypes()[0]; Type appendType = appendCall.getMethodType().getParameterTypes()[0];
if (!appendType.equals(Type.tString)) { if (!appendType.equals(Type.tString)) {

Loading…
Cancel
Save