Home
last modified time | relevance | path

Searched refs:thisClass (Results 1 – 25 of 32) sorted by relevance

12

/external/javassist/src/test/test3/
DEnhancer.java18 private CtClass thisClass; field in Enhancer
66 thisClass = pool.makeClass(name); in Enhancer()
67 thisClass.setSuperclass(superClass); in Enhancer()
72 thisClass.addField(CtField.make(src, thisClass)); in Enhancer()
81 String delegatorNamePrefix = thisClass.makeUniqueName("d"); in overrideAll()
95 thisClass.addField( in override()
97 + fieldName + ";", thisClass)); in override()
98 CtMethod delegator = CtNewMethod.delegator(m, thisClass); in override()
102 thisClass.addMethod(delegator); in override()
103 thisClass.addMethod(makeMethod(m, fieldName, delegatorName)); in override()
[all …]
/external/javassist/src/main/javassist/
DClassClassPath.java50 private Class<?> thisClass; field in ClassClassPath
59 thisClass = c; in ClassClassPath()
80 return thisClass.getResourceAsStream(filename); in openClassfile()
91 return thisClass.getResource(filename); in find()
96 return thisClass.getName() + ".class"; in toString()
/external/javassist/src/test/test4/
DInvokeDyn.java13 Class thisClass = lookup.lookupClass(); in boot() local
14 …MethodHandle method = lookup.findStatic(thisClass, "test9", MethodType.methodType(int.class, int.c… in boot()
22 Class thisClass = lookup.lookupClass(); in boot2() local
23 …MethodHandle method = lookup.findVirtual(thisClass, "test8", MethodType.methodType(int.class, int.… in boot2()
/external/javassist/src/main/javassist/expr/
DExpr.java48 CtClass thisClass; field in Expr
61 thisClass = declaring; in Expr()
71 public CtClass getEnclosingClass() { return thisClass; } in getEnclosingClass()
101 CtBehavior[] cb = thisClass.getDeclaredBehaviors(); in where()
106 CtConstructor init = thisClass.getClassInitializer(); in where()
133 ClassPool pool = thisClass.getClassPool(); in mayThrow()
203 ClassFile cf = thisClass.getClassFile2(); in getFileName()
316 if (ed.doit(thisClass, thisMethod, context, oldIterator, endPos)) in runEditor()
DCast.java86 return thisClass.getClassPool().getCtClass(name); in getType()
110 thisClass.getClassFile(); // to call checkModify(). in replace()
116 Javac jc = new Javac(thisClass); in replace()
117 ClassPool cp = thisClass.getClassPool(); in replace()
DInstanceof.java89 return thisClass.getClassPool().getCtClass(name); in getType()
113 thisClass.getClassFile(); // to call checkModify(). in replace()
119 Javac jc = new Javac(thisClass); in replace()
120 ClassPool cp = thisClass.getClassPool(); in replace()
DMethodCall.java90 return thisClass.getClassPool().get(getClassName()); in getCtClass()
196 thisClass.getClassFile(); // to call checkModify(). in replace()
220 Javac jc = new Javac(thisClass); in replace()
221 ClassPool cp = thisClass.getClassPool(); in replace()
DNewExpr.java103 return thisClass.getClassPool().get(newTypeName); in getCtClass()
185 thisClass.getClassFile(); // to call checkModify(). in replace()
205 Javac jc = new Javac(thisClass); in replace()
206 ClassPool cp = thisClass.getClassPool(); in replace()
DNewArray.java110 return Descriptor.toCtClass(desc, thisClass.getClassPool()); in getComponentType()
193 thisClass.getClassFile(); // to call checkModify(). in replace2()
226 retType = Descriptor.toCtClass(desc, thisClass.getClassPool()); in replace2()
228 Javac jc = new Javac(thisClass); in replace2()
DFieldAccess.java110 return thisClass.getClassPool().get(getClassName()); in getCtClass()
175 thisClass.getClassFile(); // to call checkModify(). in replace()
180 Javac jc = new Javac(thisClass); in replace()
187 thisClass.getClassPool()); in replace()
DHandler.java95 return thisClass.getClassPool().getCtClass(name); in getType()
128 Javac jv = new Javac(thisClass); in insertBefore()
/external/jarjar/src/main/com/tonicsystems/jarjar/util/
DClassHeaderReader.java26 private String thisClass; field in ClassHeaderReader
42 return thisClass; in getClassName()
58 thisClass = superClass = null; in read()
110 thisClass = readClass(index + 2); in read()
/external/javassist/src/main/javassist/compiler/
DMemberCodeGen.java54 protected CtClass thisClass; field in MemberCodeGen
62 thisClass = cc; in MemberCodeGen()
71 ClassFile cf = thisClass.getClassFile2(); in getMajorVersion()
86 public CtClass getThisClass() { return thisClass; } in getThisClass()
93 return MemberResolver.javaToJvmName(thisClass.getName()); in getThisName()
102 MemberResolver.getSuperclass(thisClass).getName()); in getSuperName()
108 bytecode.addInvokespecial(MemberResolver.getSuperclass(thisClass), in insertDefaultSuperCall()
493 targetClass = thisClass; in atCallExpr()
504 targetClass = thisClass; in atCallExpr()
526 targetClass = MemberResolver.getSuperInterface(thisClass, in atCallExpr()
[all …]
DJavac.java60 public Javac(CtClass thisClass) { in Javac() argument
61 this(new Bytecode(thisClass.getClassFile2().getConstPool(), 0, 0), in Javac()
62 thisClass); in Javac()
73 public Javac(Bytecode b, CtClass thisClass) { in Javac() argument
74 gen = new JvstCodeGen(b, thisClass, thisClass.getClassPool()); in Javac()
DTypeChecker.java62 protected CtClass thisClass; field in TypeChecker
67 thisClass = cc; in TypeChecker()
136 return MemberResolver.javaToJvmName(thisClass.getName()); in getThisName()
144 MemberResolver.getSuperclass(thisClass).getName()); in getSuperName()
668 targetClass = thisClass; in atCallExpr()
673 targetClass = MemberResolver.getSuperclass(thisClass); in atCallExpr()
675 targetClass = thisClass; in atCallExpr()
689 targetClass = MemberResolver.getSuperInterface(thisClass, in atCallExpr()
766 = resolver.lookupMethod(targetClass, thisClass, thisMethod, in atMethodCallCore()
865 CtField f = thisClass.getField(name); in fieldAccess()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/type/
DTestTypeFactoryWithClassLoader.java130 protected final static Class<?> thisClass = new Object() { field in TestTypeFactoryWithClassLoader.AClass
144 …return thisClass.getCanonicalName().replace("."+thisClass.getSimpleName(), "$"+thisClass.getSimple… in getStaticClassName()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/analysis/
DArrayProto.java112 TypeProto thisClass = classPath.getClass(elementType); in getCommonSuperclass() local
114 TypeProto mergedClass = thisClass.getCommonSuperclass(otherClass); in getCommonSuperclass()
115 if (thisClass == mergedClass) { in getCommonSuperclass()
/external/javassist/src/main/javassist/bytecode/
DClassFile.java62 int thisClass; field in ClassFile
202 thisClass = constPool.getThisClassInfo(); in ClassFile()
253 thisClass = cp.getThisClassInfo(); in compact0()
796 thisClass = in.readUnsignedShort(); in read()
797 constPool.setThisClassInfo(thisClass); in read()
824 thisclassname = constPool.getClassInfo(thisClass); in read()
838 out.writeShort(thisClass); in write()
DClassFileWriter.java80 int thisClass, superClass; field in ClassFileWriter
127 public byte[] end(int accessFlags, int thisClass, int superClass, in end() argument
131 output.writeShort(thisClass); in end()
171 int accessFlags, int thisClass, int superClass, in end() argument
178 out.writeShort(thisClass); in end()
/external/javassist/src/main/javassist/util/proxy/
DProxyFactory.java188 private Class<?> thisClass; field in ProxyFactory
391 thisClass = null; in ProxyFactory()
518 Class<?> result = thisClass; in createClass1()
527 result = thisClass; in createClass1()
529 thisClass = null; in createClass1()
582 thisClass = reference.get(); in createClass2()
583 if (thisClass != null) { in createClass2()
588 details = new ProxyDetails(signature, thisClass, factoryWriteReplace); in createClass2()
603 thisClass = FactoryHelper.toClass(cf, getClassInTheSamePackage(), cl, getDomain()); in createClass3()
605 thisClass = FactoryHelper.toClass(cf, lookup); in createClass3()
[all …]
/external/testng/src/main/java/org/testng/internal/
DClonedMethod.java302 Class<?> thisClass = getRealClass(); in compareTo() local
304 if (thisClass.isAssignableFrom(otherClass)) { in compareTo()
306 } else if (otherClass.isAssignableFrom(thisClass)) { in compareTo()
DBaseTestMethod.java143 Class<?> thisClass = getRealClass(); in compareTo() local
147 } else if (thisClass.isAssignableFrom(otherClass)) { in compareTo()
149 } else if (otherClass.isAssignableFrom(thisClass)) { in compareTo()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowIntentTest.java239 Class<? extends ShadowIntentTest> thisClass = getClass(); in testSetClass() local
240 Intent output = intent.setClass(ApplicationProvider.getApplicationContext(), thisClass); in testSetClass()
243 assertThat(intent.getComponent().getClassName()).isEqualTo(thisClass.getName()); in testSetClass()
249 Class<? extends ShadowIntentTest> thisClass = getClass(); in testSetClassName() local
250 intent.setClassName("package.name", thisClass.getName()); in testSetClassName()
251 assertSame(thisClass.getName(), intent.getComponent().getClassName()); in testSetClassName()
253 assertSame(intent.getComponent().getClassName(), thisClass.getName()); in testSetClassName()
/external/jimfs/jimfs/src/test/java/com/google/common/jimfs/
DClassLoaderTest.java65 Class<?> thisClass = separateLoader.loadClass(getClass().getName()); in separateClassLoader() local
66 Method createFileSystem = thisClass.getDeclaredMethod("createFileSystem"); in separateClassLoader()
/external/turbine/java/com/google/turbine/bytecode/
DClassReader.java87 String thisClass = constantPool.classInfo(reader.u2()); in read() local
122 innerclasses = readInnerClasses(constantPool, thisClass); in read()
135 thisClass, in read()
157 ConstantPoolReader constantPool, String thisClass) { in readInnerClasses() argument
170 if (innerName != null && (thisClass.equals(innerClass) || thisClass.equals(outerClass))) { in readInnerClasses()

12