Home
last modified time | relevance | path

Searched defs:ctClass (Results 1 – 9 of 9) sorted by relevance

/external/robolectric/src/main/java/com/xtremelabs/robolectric/bytecode/
DAndroidTranslator.java89 CtClass ctClass; in onLoad() local
115 /* package */ boolean shouldInstrument(CtClass ctClass) { in shouldInstrument()
144 CtClass ctClass = classPool.getAndRename(from, className); in replaceClassWithFromAndroidEquivalent() local
189 private void addBypassShadowField(CtClass ctClass, String fieldName) { in addBypassShadowField()
203 private void fixConstructors(CtClass ctClass) throws CannotCompileException, NotFoundException { in fixConstructors()
230 …private boolean fixConstructor(CtClass ctClass, boolean needsDefault, CtConstructor ctConstructor)… in fixConstructor()
236 …private String generateConstructorBody(CtClass ctClass, CtClass[] parameterTypes) throws NotFoundE… in generateConstructorBody()
245 private void fixMethods(CtClass ctClass) throws NotFoundException, CannotCompileException { in fixMethods()
262 …private void fixMethod(CtClass ctClass, CtMethod ctMethod, boolean wasFoundInClass) throws NotFoun… in fixMethod()
330 …private CtMethod makeNewMethod(CtClass ctClass, CtMethod ctMethod, CtClass returnCtClass, String m… in makeNewMethod()
[all …]
DClassHandler.java10 void instrument(CtClass ctClass); in instrument()
DType.java51 public static Type find(CtClass ctClass) { in find()
DShadowWrangler.java55 public void instrument(CtClass ctClass) { in instrument()
/external/robolectric/src/test/java/com/xtremelabs/robolectric/bytecode/
DAndroidTranslatorUnitTest.java25 CtClass ctClass = classPool.get("java.lang.String"); in whenMethodReturnsObject_shouldGenerateMethodBody() local
39 CtClass ctClass = classPool.get("java.lang.String"); in whenMethodReturnsPrimitive_shouldGenerateMethodBody() local
53 CtClass ctClass = classPool.get("java.lang.Object"); in whenMethodReturnsVoid_shouldGenerateMethodBody() local
66 CtClass ctClass = classPool.get("java.lang.String"); in whenMethodIsStatic_shouldGenerateMethodBody() local
87 CtClass ctClass = classPool.get("java.lang.Object"); in shouldGenerateMethodBodyForEquals() local
/external/android-mock/tests/com/google/android/testing/mocking/
DAndroidFrameworkMockGeneratorTest.java140 CtClass ctClass = ClassPool.getDefault().get(mock.getClassName()); in testGetMocksForClass() local
DClassTypeTests.java87 CtClass ctClass; in getMethodNames() local
DAndroidMockTest.java92 CtClass ctClass; in compileClasses() local
/external/android-mock/src/com/google/android/testing/mocking/
DAndroidFrameworkMockGenerator.java63 CtClass ctClass = AndroidMockGenerator.getClassPool().get(prebuiltClass.getName()); in getMocksForClass() local