Searched refs:ctConstructor (Results 1 – 1 of 1) sorted by relevance
212 for (CtConstructor ctConstructor : ctClass.getDeclaredConstructors()) { in fixConstructors()214 fixConstructor(ctClass, hasDefault, ctConstructor); in fixConstructors()216 if (ctConstructor.getParameterTypes().length == 0) { in fixConstructors()220 throw new RuntimeException("problem instrumenting " + ctConstructor, e); in fixConstructors()230 …n fixConstructor(CtClass ctClass, boolean needsDefault, CtConstructor ctConstructor) throws NotFou… in fixConstructor() argument231 String methodBody = generateConstructorBody(ctClass, ctConstructor.getParameterTypes()); in fixConstructor()232 ctConstructor.setBody("{\n" + methodBody + "}\n"); in fixConstructor()