HomeSort by relevance Sort by last modified time
    Searched full:classpool (Results 1 - 25 of 134) sorted by null

1 2 3 4 5 6

  /external/javassist/src/main/javassist/scopedpool/
ScopedClassPoolRepository.java 20 import javassist.ClassPool;
54 * Create a scoped classpool.
57 * @param src the original classpool.
58 * @return the classpool.
60 ScopedClassPool createScopedClassPool(ClassLoader cl, ClassPool src);
63 * Finds a scoped classpool registered under the passed in classloader.
66 * @return the classpool.
68 ClassPool findClassPool(ClassLoader cl);
74 * @return the classpool.
76 ClassPool registerClassLoader(ClassLoader ucl)
    [all...]
ScopedClassPoolRepositoryImpl.java 24 import javassist.ClassPool;
41 /** Whether to prune when added to the classpool's cache */
49 protected ClassPool classpool; field in class:ScopedClassPoolRepositoryImpl
67 classpool = ClassPool.getDefault();
70 classpool.insertClassPath(new LoaderClassPath(cl));
92 * Create a scoped classpool.
95 * @param src the original classpool.
96 * @return the classpool
    [all...]
ScopedClassPoolFactory.java 18 import javassist.ClassPool;
30 ScopedClassPool create(ClassLoader cl, ClassPool src,
36 ScopedClassPool create(ClassPool src,
ScopedClassPoolFactoryImpl.java 18 import javassist.ClassPool;
30 public ScopedClassPool create(ClassLoader cl, ClassPool src,
38 public ScopedClassPool create(ClassPool src,
  /external/proguard/src/proguard/classfile/visitor/
ClassPoolFiller.java 37 private final ClassPool classPool;
43 public ClassPoolFiller(ClassPool classPool)
45 this.classPool = classPool;
53 classPool.addClass(clazz);
ClassPresenceFilter.java 28 * the visited class file is present in a given <code>ClassPool</code> or not.
34 private final ClassPool classPool;
41 * @param classPool the <code>ClassPool</code> in which the
48 public ClassPresenceFilter(ClassPool classPool,
52 this.classPool = classPool;
89 return classPool.getClass(clazz.getName()) != null
    [all...]
ClassPoolVisitor.java 23 import proguard.classfile.ClassPool;
28 * <code>ClassPool</code> objects. Note that there is only a single
29 * implementation of <code>ClassPool</code>, such that this interface
36 public void visitClassPool(ClassPool classPool);
AllClassVisitor.java 23 import proguard.classfile.ClassPool;
43 public void visitClassPool(ClassPool classPool)
45 classPool.classesAccept(classVisitor);
NamedClassVisitor.java 23 import proguard.classfile.ClassPool;
45 public void visitClassPool(ClassPool classPool)
47 classPool.classAccept(name, classVisitor);
MultiClassPoolVisitor.java 23 import proguard.classfile.ClassPool;
81 public void visitClassPool(ClassPool classPool)
85 classPoolVisitors[index].visitClassPool(classPool);
  /external/robolectric/src/test/java/com/xtremelabs/robolectric/bytecode/
AndroidTranslatorUnitTest.java 3 import javassist.ClassPool;
15 private ClassPool classPool;
19 classPool = new ClassPool(true);
25 CtClass ctClass = classPool.get("java.lang.String");
39 CtClass ctClass = classPool.get("java.lang.String");
53 CtClass ctClass = classPool.get("java.lang.Object");
66 CtClass ctClass = classPool.get("java.lang.String");
87 CtClass ctClass = classPool.get("java.lang.Object")
    [all...]
  /external/robolectric/src/main/java/com/xtremelabs/robolectric/bytecode/
RobolectricClassLoader.java 4 import javassist.ClassPool;
36 ClassPool classPool = new ClassPool();
37 classPool.appendClassPath(new LoaderClassPath(RobolectricClassLoader.class.getClassLoader()));
40 addTranslator(classPool, androidTranslator);
  /external/proguard/src/proguard/io/
ClassRewriter.java 31 * versions from the ClassPool to a given DataEntryWriter.
37 private final ClassPool classPool;
41 public ClassRewriter(ClassPool classPool,
44 this.classPool = classPool;
57 ProgramClass programClass = (ProgramClass)classPool.getClass(className);
DataEntryObfuscator.java 31 * data entries based on the renamed classes in the given ClassPool.
37 private final ClassPool classPool;
44 * @param classPool the class pool that maps from old names to new
51 public DataEntryObfuscator(ClassPool classPool,
55 this.classPool = classPool;
96 Clazz clazz = classPool.getClass(className);
DataEntryRewriter.java 30 * in the given ClassPool.
36 private final ClassPool classPool;
42 public DataEntryRewriter(ClassPool classPool,
47 this.classPool = classPool;
131 Clazz clazz = classPool.getClass(className);
  /external/javassist/src/test/test/javassist/proxy/
ProxyCacheGCTest.java 22 private ClassPool basePool;
28 basePool = ClassPool.getDefault();
64 ClassPool classPool = new ClassPool(basePool);
69 CtClass ctTargetClass = classPool.makeClass(targetName);
77 CtClass ctHandlerClass = classPool.makeClass(handlerName);
84 CtClass ctFilterClass = classPool.makeClass(filterName);
92 Class javaTargetClass = classPool.toClass(ctTargetClass);
93 Class javaHandlerClass = classPool.toClass(ctHandlerClass)
    [all...]
  /external/javassist/src/main/javassist/
ByteArrayClassPath.java 24 * a class file to a <code>ClassPool</code>. It is useful to convert
32 * ClassPool cp = ClassPool.getDefault();
37 * <p>The <code>ClassPool</code> object <code>cp</code> uses the created
44 * @see ClassPool#insertClassPath(ClassPath)
45 * @see ClassPool#appendClassPath(ClassPath)
46 * @see ClassPool#makeClass(InputStream)
ClassClassPath.java 27 * the default <code>ClassPool</code>. For example,
30 * ClassPool cp = ClassPool.getDefault();
35 * to the default <code>ClassPool</code>. Note that the default
36 * <code>ClassPool</code> is a singleton. The added
40 * @see ClassPool#insertClassPath(ClassPath)
41 * @see ClassPool#appendClassPath(ClassPath)
Translator.java 25 * @see Loader#addTranslator(ClassPool, Translator)
35 * @param pool the <code>ClassPool</code> that this translator
42 void start(ClassPool pool)
60 * @param pool the <code>ClassPool</code> that this translator
68 void onLoad(ClassPool pool, String classname)
  /external/javassist/src/test/test/javassist/bytecode/analysis/
ErrorFinder.java 6 import javassist.ClassPool;
19 ClassPool pool = ClassPool.getDefault();
38 private static void analyzeClass(ClassPool pool, String className) {
AnalyzerTest.java 7 import javassist.ClassPool;
29 ClassPool pool = ClassPool.getDefault();
36 ClassPool pool = ClassPool.getDefault();
43 CtMethod method = ClassPool.getDefault().getMethod(
47 method = ClassPool.getDefault().getMethod(
51 method = ClassPool.getDefault().getMethod(
57 CtMethod method = ClassPool.getDefault().getMethod(
61 method = ClassPool.getDefault().getMethod
    [all...]
  /external/javassist/tutorial/
tutorial.html 22 <br>2. <a href="#pool">ClassPool</a>
46 ClassPool pool = ClassPool.getDefault();
52 <p>This program first obtains a <code>ClassPool</code> object, which
54 <code>ClassPool</code> object is a container of <code>CtClass</code>
60 from a <code>ClassPool</code> object
62 <code>get()</code> in <code>ClassPool</code> is used for this purpose.
66 <code>ClassPool</code> object and it is assigned to a variable
68 The <code>ClassPool</code> object returned by <code>getDfault()</code>
71 <p>From the implementation viewpoint, <code>ClassPool</code> is a has
    [all...]
  /external/javassist/src/main/javassist/tools/rmi/
StubGenerator.java 48 private ClassPool classPool;
68 * @see javassist.Translator#start(ClassPool)
70 public void start(ClassPool pool) throws NotFoundException {
71 classPool = pool;
89 * @see javassist.Translator#onLoad(ClassPool,String)
91 public void onLoad(ClassPool pool, String classname) {}
119 CtClass ctclazz = produceProxyClass(classPool.get(classname),
136 CtClass proxy = classPool.makeClass(orgclass.getName(),
142 = new CtField(classPool.get("javassist.tools.rmi.ObjectImporter")
    [all...]
  /external/javassist/src/main/javassist/tools/reflect/
Reflection.java 80 protected ClassPool classPool;
96 classPool = null;
103 public void start(ClassPool pool) throws NotFoundException {
104 classPool = pool;
108 CtClass c = classPool.get("javassist.tools.reflect.Sample");
114 = new CtClass[] { classPool.get("java.lang.Object") };
125 public void onLoad(ClassPool pool, String classname)
149 return makeReflective(classPool.get(classname),
150 classPool.get(metaobject)
    [all...]
  /external/proguard/src/proguard/shrink/
Shrinker.java 24 import proguard.classfile.ClassPool;
52 public ClassPool execute(ClassPool programClassPool,
53 ClassPool libraryClassPool) throws IOException
133 ClassPool newProgramClassPool = new ClassPool();

Completed in 379 milliseconds

1 2 3 4 5 6