Home
last modified time | relevance | path

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

/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/bytecode/
DAndroidTranslatorUnitTest.java26 String methodBody = androidTranslator.generateMethodBody( in whenMethodReturnsObject_shouldGenerateMethodBody() local
34 "}\n", methodBody); in whenMethodReturnsObject_shouldGenerateMethodBody()
40 String methodBody = androidTranslator.generateMethodBody( in whenMethodReturnsPrimitive_shouldGenerateMethodBody() local
48 "}\n", methodBody); in whenMethodReturnsPrimitive_shouldGenerateMethodBody()
54 String methodBody = androidTranslator.generateMethodBody( in whenMethodReturnsVoid_shouldGenerateMethodBody() local
61 "}\n", methodBody); in whenMethodReturnsVoid_shouldGenerateMethodBody()
67 String methodBody = androidTranslator.generateMethodBody( in whenMethodIsStatic_shouldGenerateMethodBody() local
75 "}\n", methodBody); in whenMethodIsStatic_shouldGenerateMethodBody()
88 String methodBody = androidTranslator.generateMethodBody( in shouldGenerateMethodBodyForEquals() local
95 "return super.equals($1);}\n", methodBody); in shouldGenerateMethodBodyForEquals()
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/bytecode/
DAndroidTranslator.java225 String methodBody = generateConstructorBody(ctClass, new CtClass[0]); in fixConstructors() local
226 …structor(CtNewConstructor.make(new CtClass[0], new CtClass[0], "{\n" + methodBody + "}\n", ctClass… in fixConstructors()
231 String methodBody = generateConstructorBody(ctClass, ctConstructor.getParameterTypes()); in fixConstructor() local
232 ctConstructor.setBody("{\n" + methodBody + "}\n"); in fixConstructor()
309 …String methodBody = generateMethodBody(ctClass, ctMethod, wasNative, wasAbstract, returnCtClass, r… in fixMethod() local
312 …thod(ctClass, ctMethod, returnCtClass, methodName, paramTypes, "{\n" + methodBody + generateCallTo… in fixMethod()
315 ctMethod.insertBefore("{\n" + methodBody + "}\n"); in fixMethod()
320 …akeNewMethod(ctClass, ctMethod, returnCtClass, methodName, paramTypes, "{\n" + methodBody + "\n}"); in fixMethod()
323 ctMethod.insertBefore("{\n" + methodBody + "}\n"); in fixMethod()
330 …CtClass returnCtClass, String methodName, CtClass[] paramTypes, String methodBody) throws CannotCo… in makeNewMethod() argument
[all …]
/external/doclava/src/com/google/doclava/parser/
DJava.g221 * "methodBody". constructorBody starts with explicitConstructorInvocation,