Home
last modified time | relevance | path

Searched refs:ctConstructor (Results 1 – 1 of 1) sorted by relevance

/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/bytecode/
DAndroidTranslator.java212 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() argument
231 String methodBody = generateConstructorBody(ctClass, ctConstructor.getParameterTypes()); in fixConstructor()
232 ctConstructor.setBody("{\n" + methodBody + "}\n"); in fixConstructor()