Home
last modified time | relevance | path

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

/external/javassist/src/main/javassist/util/proxy/
DFactoryHelper.java110 public static Class<?> toClass(ClassFile cf, ClassLoader loader) in toClass() method in FactoryHelper
113 return toClass(cf, null, loader, null); in toClass()
127 public static Class<?> toClass(ClassFile cf, Class<?> neighbor, in toClass() method in FactoryHelper
136 return DefineClassHelper.toClass(cf.getName(), neighbor, in toClass()
150 public static Class<?> toClass(ClassFile cf, java.lang.invoke.MethodHandles.Lookup lookup) in toClass() method in FactoryHelper
155 return DefineClassHelper.toClass(lookup, b); in toClass()
DDefineClassHelper.java48 return toClass(neighbor, bcode); in defineClass()
258 public static Class<?> toClass(String className, Class<?> neighbor, ClassLoader loader, in toClass() method in DefineClassHelper
291 public static Class<?> toClass(Class<?> neighbor, byte[] bcode) in toClass() method in DefineClassHelper
313 public static Class<?> toClass(Lookup lookup, byte[] bcode) in toClass() method in DefineClassHelper
DProxyFactory.java603 thisClass = FactoryHelper.toClass(cf, getClassInTheSamePackage(), cl, getDomain()); in createClass3()
605 thisClass = FactoryHelper.toClass(cf, lookup); in createClass3()
/external/javassist/src/main/javassist/
DClassPool.java1045 public Class toClass(CtClass clazz) throws CannotCompileException { in toClass() method in ClassPool
1048 return toClass(clazz, getClassLoader()); in toClass()
1087 public Class toClass(CtClass ct, ClassLoader loader) in toClass() method in ClassPool
1090 return toClass(ct, null, loader, null); in toClass()
1125 public Class toClass(CtClass ct, ClassLoader loader, ProtectionDomain domain) in toClass() method in ClassPool
1128 return toClass(ct, null, loader, domain); in toClass()
1146 public Class<?> toClass(CtClass ct, Class<?> neighbor) in toClass() method in ClassPool
1150 return javassist.util.proxy.DefineClassHelper.toClass(neighbor, in toClass()
1171 public Class<?> toClass(CtClass ct, in toClass() method in ClassPool
1176 return javassist.util.proxy.DefineClassHelper.toClass(lookup, in toClass()
[all …]
DCtClass.java1289 public Class<?> toClass() throws CannotCompileException { in toClass() method in CtClass
1290 return getClassPool().toClass(this); in toClass()
1315 public Class<?> toClass(Class<?> neighbor) throws CannotCompileException in toClass() method in CtClass
1317 return getClassPool().toClass(this, neighbor); in toClass()
1340 public Class<?> toClass(java.lang.invoke.MethodHandles.Lookup lookup) in toClass() method in CtClass
1343 return getClassPool().toClass(this, lookup); in toClass()
1377 public Class<?> toClass(ClassLoader loader, ProtectionDomain domain) in toClass() method in CtClass
1384 return cp.toClass(this, null, loader, domain); in toClass()
1397 public final Class<?> toClass(ClassLoader loader) in toClass() method in CtClass
1400 return getClassPool().toClass(this, null, loader, null); in toClass()
DCtClassType.java780 Class<?> clazz = cp.get(anno.getTypeName()).toClass(); in toAnnoType()
/external/javassist/src/test/javassist/
DSetterTest.java33 Class _class = clazz.toClass(capability); in testFieldGetter()
51 Class _class = clazz.toClass(capability); in testFieldGetterSetter()
71 Class _class = clazz.toClass(capability); in testStaticFieldGetter()
90 Class _class = clazz.toClass(capability); in testStaticFieldGetterSetter()
DJvstTest5.java226 Class clazzz = badClass.toClass(Class.forName("DefineClassCapability")); in testBadClass()
454 cc.toClass(test5.DefineClassCapability.class); in testNestHostAttributeCopy()
DJvstTest3.java343 Class newclass = c.toClass(DefineClassCapability.class); in testNewAnnotation()
740 Class clazz = cc2.toClass(DefineClassCapability.class); in testCopyAnnotation()
793 Class clazz = cc.toClass(DefineClassCapability.class); in testStaticFinalField()
1111 ctc.toClass(DefineClassCapability.class).getConstructor().newInstance(); in test67()
DJvstTest4.java633 Class cl = ctcl.toClass(); in testPackage()
1057 Class<?> cClass = newClass.toClass(test4.DefineClassCapability.class); in testDeadcode()
1115 anno.toClass(test4.DefineClassCapability.class); in testAnnotationLoader()
DJvstTest.java748 ctInterface.toClass(DefineClassCapability.class); in testInterface()
749 targetCtClass.toClass(DefineClassCapability.class); in testInterface()
DJvstTest2.java713 Class c = cc.toClass(DefineClassCapability.class); in testToClass()
/external/desugar/java/com/google/devtools/common/options/
DGenericTypeHelper.java122 Class<?> toClass = (Class<?>) to; in isAssignableFrom() local
123 if (toClass.isPrimitive()) { in isAssignableFrom()
124 return Primitives.wrap(toClass).equals(from); in isAssignableFrom()
/external/javassist/src/test/test/javassist/proxy/
DProxyCacheGCTest.java93 …Class javaTargetClass = classPool.toClass(ctTargetClass, test.javassist.DefineClassCapability.clas… in createProxy()
94 …Class javaHandlerClass = classPool.toClass(ctHandlerClass, test.javassist.DefineClassCapability.cl… in createProxy()
95 …Class javaFilterClass = classPool.toClass(ctFilterClass, test.javassist.DefineClassCapability.clas… in createProxy()
/external/javassist/src/main/javassist/scopedpool/
DScopedClassPool.java291 public Class<?> toClass(CtClass ct, ClassLoader loader, ProtectionDomain domain) in toClass() method in ScopedClassPool
306 return super.toClass(ct, getClassLoader0(), domain); in toClass()
/external/javassist/src/test/javassist/tools/
DCallbackTest.java38 classToChange.toClass(DefineClassCapability.class); in testSomeCallbacks()
/external/javassist/src/test/
DTest.java50 Class<?> cc = ctClass.toClass(); in main()
/external/javassist/src/test/javassist/bytecode/
DInsertGap0.java178 Class c = cc.toClass(ClassFile.class); in testExample()
197 Class c = cc.toClass(ClassFile.class); in testExample2()
/external/javassist/src/test/test3/
DEnhancer.java144 thisJavaClass = thisClass.toClass(); in createClass()
/external/javassist/src/main/javassist/compiler/
DCodeGen.java1426 String toClass = checkCastExpr(expr, cname); in atCastExpr() local
1431 if (toClass == null) in atCastExpr()
1434 bytecode.addCheckcast(toClass); in atCastExpr()
1440 String toClass = checkCastExpr(expr, cname); in atInstanceOfExpr() local
1441 bytecode.addInstanceof(toClass); in atInstanceOfExpr()
/external/python/cpython3/Lib/
Dturtle.py309 def __forwardmethods(fromClass, toClass, toPart, exclude = ()): argument
312 __methodDict(toClass, _dict_1)
/external/python/cpython2/Lib/lib-tk/
Dturtle.py328 def __forwardmethods(fromClass, toClass, toPart, exclude = ()): argument
333 __methodDict(toClass, _dict)