Home
last modified time | relevance | path

Searched refs:addNameAndTypeInfo (Results 1 – 10 of 10) sorted by relevance

/external/javassist/src/test/javassist/bytecode/
DBytecodeTest.java711 int n3 = cp.addNameAndTypeInfo(n1, n2); in testConstInfoAdd()
712 assertEquals(n3, cp.addNameAndTypeInfo(n1, n2)); in testConstInfoAdd()
713 assertEquals(n3, cp.addNameAndTypeInfo("test.Bar", "()V")); in testConstInfoAdd()
714 int n4 = cp.addNameAndTypeInfo("test.Baz", "()V"); in testConstInfoAdd()
716 assertTrue(n3 != cp.addNameAndTypeInfo(cp.addUtf8Info("test.Baz"), n2)); in testConstInfoAdd()
755 int n4 = cp.addNameAndTypeInfo("foo", "(Ltest/Foo;)V"); in testRenameInConstPool()
756 int n5 = cp.addNameAndTypeInfo("bar", "(Ltest/Bar;)V"); in testRenameInConstPool()
757 int n6 = cp.addNameAndTypeInfo("baz", "(Ltest/Baz;)V"); in testRenameInConstPool()
766 assertTrue(cp.addNameAndTypeInfo("foo", "(Ltest/Foo2;)V") == n4); in testRenameInConstPool()
767 assertTrue(cp.addNameAndTypeInfo("foo", "(Ltest/Foo;)V") != n4); in testRenameInConstPool()
[all …]
/external/javassist/src/main/javassist/bytecode/
DClassFileWriter.java438 int nt = constPool.addNameAndTypeInfo(methodName, descriptor); in addInvoke()
590 public int addNameAndTypeInfo(String name, String type) { in addNameAndTypeInfo() method in ClassFileWriter.ConstPoolWriter
591 return addNameAndTypeInfo(addUtf8Info(name), addUtf8Info(type)); in addNameAndTypeInfo()
601 public int addNameAndTypeInfo(int name, int type) { in addNameAndTypeInfo() method in ClassFileWriter.ConstPoolWriter
DEnclosingMethodAttribute.java50 int ni = cp.addNameAndTypeInfo(methodName, methodDesc); in EnclosingMethodAttribute()
DConstPool.java956 public int addNameAndTypeInfo(String name, String type) in addNameAndTypeInfo() method in ConstPool
958 return addNameAndTypeInfo(addUtf8Info(name), addUtf8Info(type)); in addNameAndTypeInfo()
968 public int addNameAndTypeInfo(int name, int type) in addNameAndTypeInfo() method in ConstPool
988 int nt = addNameAndTypeInfo(name, type); in addFieldrefInfo()
1020 int nt = addNameAndTypeInfo(name, type); in addMethodrefInfo()
1055 int nt = addNameAndTypeInfo(name, type); in addInterfaceMethodrefInfo()
1641 return dest.addNameAndTypeInfo(dest.addUtf8Info(mname), in copy()
DBytecode.java1235 int nt = constPool.addNameAndTypeInfo(name, desc); in addInvokedynamic()
/external/javassist/src/main/javassist/convert/
DTransformFieldAccess.java73 int nt = cp.addNameAndTypeInfo(newFieldname, in transform()
DTransformNew.java108 cp.addNameAndTypeInfo(mnameIndex, typedesc)); in computeMethodref()
DTransformBefore.java65 int nt = cp.addNameAndTypeInfo(newMethodname, desc); in match()
DTransformCall.java117 int nt = cp.addNameAndTypeInfo(cp.addUtf8Info(newMethodname), in match()
/external/javassist/src/test/javassist/
DJvstTest4.java313 … mw.add16(cpw.addMethodrefInfo(superClass, cpw.addNameAndTypeInfo(MethodInfo.nameInit, "()V"))); in testClassFileWriter3()