/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/bytecode/ |
D | AndroidTranslatorUnitTest.java | 15 private ClassPool classPool; field in AndroidTranslatorUnitTest 19 classPool = new ClassPool(true); in setUp() 25 CtClass ctClass = classPool.get("java.lang.String"); in whenMethodReturnsObject_shouldGenerateMethodBody() 39 CtClass ctClass = classPool.get("java.lang.String"); in whenMethodReturnsPrimitive_shouldGenerateMethodBody() 53 CtClass ctClass = classPool.get("java.lang.Object"); in whenMethodReturnsVoid_shouldGenerateMethodBody() 66 CtClass ctClass = classPool.get("java.lang.String"); in whenMethodIsStatic_shouldGenerateMethodBody() 87 CtClass ctClass = classPool.get("java.lang.Object"); in shouldGenerateMethodBodyForEquals() 100 …assertTrue(androidTranslator.shouldInstrument(classPool.makeClass("org.apache.http.impl.client.Def… in shouldInstrumentDefaultRequestDirector() 105 …assertTrue(androidTranslator.shouldInstrument(classPool.makeClass("com.google.android.maps.SomeMap… in shouldInstrumentGoogleMapsClasses() 110 assertFalse(androidTranslator.shouldInstrument(classPool.get("java.lang.Object"))); in shouldNotInstrumentCoreJdkClasses() [all …]
|
/external/proguard/src/proguard/classfile/visitor/ |
D | ClassPoolFiller.java | 37 private final ClassPool classPool; field in ClassPoolFiller 43 public ClassPoolFiller(ClassPool classPool) in ClassPoolFiller() argument 45 this.classPool = classPool; in ClassPoolFiller() 53 classPool.addClass(clazz); in visitAnyClass()
|
D | ClassPresenceFilter.java | 34 private final ClassPool classPool; field in ClassPresenceFilter 48 public ClassPresenceFilter(ClassPool classPool, in ClassPresenceFilter() argument 52 this.classPool = classPool; in ClassPresenceFilter() 89 return classPool.getClass(clazz.getName()) != null ? in classFileVisitor()
|
D | AllClassVisitor.java | 43 public void visitClassPool(ClassPool classPool) in visitClassPool() argument 45 classPool.classesAccept(classVisitor); in visitClassPool()
|
D | NamedClassVisitor.java | 45 public void visitClassPool(ClassPool classPool) in visitClassPool() argument 47 classPool.classAccept(name, classVisitor); in visitClassPool()
|
D | MultiClassPoolVisitor.java | 81 public void visitClassPool(ClassPool classPool) in visitClassPool() argument 85 classPoolVisitors[index].visitClassPool(classPool); in visitClassPool()
|
/external/javassist/src/main/javassist/tools/reflect/ |
D | Reflection.java | 80 protected ClassPool classPool; field in Reflection 96 classPool = null; in Reflection() 104 classPool = pool; in start() 108 CtClass c = classPool.get("javassist.tools.reflect.Sample"); in start() 114 = new CtClass[] { classPool.get("java.lang.Object") }; in start() 149 return makeReflective(classPool.get(classname), in makeReflective() 150 classPool.get(metaobject), in makeReflective() 151 classPool.get(metaclass)); in makeReflective() 206 if (clazz.subclassOf(classPool.get(classMetaobjectClassName))) in makeReflective() 211 if (clazz.subclassOf(classPool.get(metaobjectClassName))) in makeReflective() [all …]
|
/external/javassist/src/test/test/javassist/proxy/ |
D | ProxyCacheGCTest.java | 64 ClassPool classPool = new ClassPool(basePool); in createProxy() local 69 CtClass ctTargetClass = classPool.makeClass(targetName); in createProxy() 77 CtClass ctHandlerClass = classPool.makeClass(handlerName); in createProxy() 84 CtClass ctFilterClass = classPool.makeClass(filterName); in createProxy() 92 Class javaTargetClass = classPool.toClass(ctTargetClass); in createProxy() 93 Class javaHandlerClass = classPool.toClass(ctHandlerClass); in createProxy() 94 Class javaFilterClass = classPool.toClass(ctFilterClass); in createProxy()
|
/external/proguard/src/proguard/io/ |
D | ClassRewriter.java | 37 private final ClassPool classPool; field in ClassRewriter 41 public ClassRewriter(ClassPool classPool, in ClassRewriter() argument 44 this.classPool = classPool; in ClassRewriter() 57 ProgramClass programClass = (ProgramClass)classPool.getClass(className); in read()
|
D | DataEntryRewriter.java | 36 private final ClassPool classPool; field in DataEntryRewriter 42 public DataEntryRewriter(ClassPool classPool, in DataEntryRewriter() argument 47 this.classPool = classPool; in DataEntryRewriter() 131 Clazz clazz = classPool.getClass(className); in writeUpdatedWord()
|
D | DataEntryObfuscator.java | 37 private final ClassPool classPool; field in DataEntryObfuscator 51 public DataEntryObfuscator(ClassPool classPool, in DataEntryObfuscator() argument 55 this.classPool = classPool; in DataEntryObfuscator() 96 Clazz clazz = classPool.getClass(className); in renamedDataEntry()
|
D | ManifestRewriter.java | 39 public ManifestRewriter(ClassPool classPool, in ManifestRewriter() argument 42 super(classPool, dataEntryWriter); in ManifestRewriter()
|
/external/javassist/src/main/javassist/compiler/ |
D | MemberResolver.java | 27 private ClassPool classPool; field in MemberResolver 30 classPool = cp; in MemberResolver() 33 public ClassPool getClassPool() { return classPool; } in getClassPool() 48 classPool.recordInvalidClassName(classname); in recordPackage() 420 Iterator it = classPool.getImportedPackages(); in searchImports() 425 CtClass cc = classPool.get(fqName); in searchImports() 427 classPool.recordInvalidClassName(orgName); in searchImports() 431 classPool.recordInvalidClassName(fqName); in searchImports() 434 CtClass cc = classPool.get(pac); in searchImports() 436 classPool.recordInvalidClassName(orgName); in searchImports() [all …]
|
/external/proguard/src/proguard/obfuscate/ |
D | MappingKeeper.java | 36 private final ClassPool classPool; field in MappingKeeper 50 public MappingKeeper(ClassPool classPool, in MappingKeeper() argument 53 this.classPool = classPool; in MappingKeeper() 66 clazz = classPool.getClass(name); in processClassMapping()
|
/external/javassist/src/main/javassist/tools/web/ |
D | Webserver.java | 38 private ClassPool classPool; field in Webserver 103 classPool = null; in Webserver() 112 classPool = loader; in setClassPool() 126 classPool = cp; in addTranslator() 128 t.start(classPool); in addTranslator() 333 if (classPool == null) in letUsersSendClassfile() 341 translator.onLoad(classPool, classname); in letUsersSendClassfile() 343 CtClass c = classPool.get(classname); in letUsersSendClassfile()
|
/external/javassist/src/main/javassist/tools/rmi/ |
D | StubGenerator.java | 48 private ClassPool classPool; field in StubGenerator 71 classPool = pool; in start() 119 CtClass ctclazz = produceProxyClass(classPool.get(classname), in makeProxyClass() 136 CtClass proxy = classPool.makeClass(orgclass.getName(), in produceProxyClass() 142 = new CtField(classPool.get("javassist.tools.rmi.ObjectImporter"), in produceProxyClass() 182 return classPool.get(name); in toCtClass()
|
/external/javassist/src/main/javassist/bytecode/stackmap/ |
D | Tracer.java | 31 protected ClassPool classPool; field in Tracer 41 classPool = classes; in Tracer() 50 classPool = t.classPool; in Tracer() 380 classPool); in doOpcode54_95() 604 TypeData.setType(stackTypes[--stackTop], returnType, classPool); in doOpcode148_201() 646 TypeData.setType(stackTypes[stackTop - 1], "[Ljava.lang.Object;", classPool); in doOpcode148_201() 650 TypeData.setType(stackTypes[--stackTop], "java.lang.Throwable", classPool); in doOpcode148_201() 750 TypeData.setType(stackTypes[stackTop], getFieldClassName(desc, 0), classPool); in doPutField() 752 TypeData.setType(stackTypes[stackTop], desc, classPool); in doPutField() 769 TypeData.setType(stackTypes[--stackTop], className, classPool); in setFieldTarget() [all …]
|
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/bytecode/ |
D | AndroidTranslator.java | 59 public void start(ClassPool classPool) throws NotFoundException, CannotCompileException { in start() argument 60 injectClassHandlerToInstrumentedClasses(classPool); in start() 63 …private void injectClassHandlerToInstrumentedClasses(ClassPool classPool) throws NotFoundException… in injectClassHandlerToInstrumentedClasses() argument 70 CtClass robolectricInternalsCtClass = classPool.get(RobolectricInternals.class.getName()); in injectClassHandlerToInstrumentedClasses() 79 …public void onLoad(ClassPool classPool, String className) throws NotFoundException, CannotCompileE… in onLoad() argument 85 replaceClassWithFromAndroidEquivalent(classPool, className); in onLoad() 91 ctClass = classPool.get(className); in onLoad() 139 …private void replaceClassWithFromAndroidEquivalent(ClassPool classPool, String className) throws N… in replaceClassWithFromAndroidEquivalent() argument 144 CtClass ctClass = classPool.getAndRename(from, className); in replaceClassWithFromAndroidEquivalent()
|
D | RobolectricClassLoader.java | 36 ClassPool classPool = new ClassPool(); in RobolectricClassLoader() local 37 … classPool.appendClassPath(new LoaderClassPath(RobolectricClassLoader.class.getClassLoader())); in RobolectricClassLoader() 40 addTranslator(classPool, androidTranslator); in RobolectricClassLoader()
|
/external/javassist/src/main/javassist/ |
D | CtClassType.java | 59 ClassPool classPool; field in CtClassType 80 classPool = cp; in CtClassType() 169 classPool.compress(); in getClassFile2() 185 fin = classPool.openClassfile(getName()); in getClassFile2() 262 public ClassPool getClassPool() { return classPool; } in getClassPool() 264 void setClassPool(ClassPool cp) { classPool = cp; } in setClassPool() 267 URL url = classPool.find(getName()); in getURL() 314 if (supername != null && classPool.get(supername).subtypeOf(clazz)) in subtypeOf() 318 if (classPool.get(ifs[i]).subtypeOf(clazz)) in subtypeOf() 330 classPool.checkNotFrozen(name); in setName() [all …]
|
/external/proguard/src/proguard/ |
D | OutputWriter.java | 196 private static Map createPackagePrefixMap(ClassPool classPool) in createPackagePrefixMap() argument 200 Iterator iterator = classPool.classNames(); in createPackagePrefixMap() 210 String newClassName = classPool.getClass(className).getName(); in createPackagePrefixMap()
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/pool/ |
D | DexPool.java | 81 …ClassPool classPool = new ClassPool(stringPool, typePool, fieldPool, methodPool, annotationSetPool, in makeDexPool() local 84 …w DexPool(opcodes, stringPool, typePool, protoPool, fieldPool, methodPool, classPool, typeListPool, in makeDexPool() 89 MethodPool methodPool, ClassPool classPool, TypeListPool typeListPool, in DexPool() argument 92 classPool, typeListPool, annotationPool, annotationSetPool); in DexPool()
|
/external/javassist/src/main/javassist/bytecode/analysis/ |
D | Executor.java | 34 private final ClassPool classPool; field in Executor 40 public Executor(ClassPool classPool, ConstPool constPool) { in Executor() argument 42 this.classPool = classPool; in Executor() 547 … CtClass returnType = Descriptor.getReturnType(method.getDescriptor(), classPool); in execute() 926 return Type.get(classPool.get(name)); in getType() 935 classes = Descriptor.getParameterTypes(desc, classPool); in paramTypesFromDesc() 953 clazz = Descriptor.getReturnType(desc, classPool); in returnTypeFromDesc() 998 clazz = Descriptor.toCtClass(info, classPool); in resolveClassInfo() 1000 clazz = classPool.get(info); in resolveClassInfo() 1016 clazz = Descriptor.toCtClass(desc, classPool); in typeFromDesc()
|
/external/proguard/src/proguard/optimize/info/ |
D | SideEffectMethodMarker.java | 55 public void visitClassPool(ClassPool classPool) in visitClassPool() argument 64 classPool.classesAccept(this); in visitClassPool()
|
/external/javassist/sample/preproc/ |
D | Compiler.java | 55 protected ClassPool classPool; field in Compiler 82 classPool = ClassPool.getDefault(); in Compiler() 258 CtClass[] imports = a.assist(classPool, importname, args); in runAssistant()
|