Searched refs:methodHandle (Results 1 – 11 of 11) sorted by relevance
76 static void registerMethodHandle(UseRegistry registry, DexMethodHandle methodHandle) { in registerMethodHandle() argument77 switch (methodHandle.type) { in registerMethodHandle()79 registry.registerInstanceFieldRead(methodHandle.asField()); in registerMethodHandle()82 registry.registerInstanceFieldWrite(methodHandle.asField()); in registerMethodHandle()85 registry.registerStaticFieldRead(methodHandle.asField()); in registerMethodHandle()88 registry.registerStaticFieldWrite(methodHandle.asField()); in registerMethodHandle()91 registry.registerInvokeVirtual(methodHandle.asMethod()); in registerMethodHandle()94 registry.registerInvokeStatic(methodHandle.asMethod()); in registerMethodHandle()97 DexMethod method = methodHandle.asMethod(); in registerMethodHandle()102 registry.registerInvokeInterface(methodHandle.asMethod()); in registerMethodHandle()[all …]
119 private void write(DexMethodHandle methodHandle) throws IOException { in write() argument120 out.writeShort(methodHandle.type.getValue()); in write()121 if (methodHandle.isFieldHandle()) { in write()122 write(methodHandle.asField()); in write()124 write(methodHandle.asMethod()); in write()
177 public int getOffsetFor(DexMethodHandle methodHandle) { in getOffsetFor() argument178 assert isContainedInMapping(methodHandle) : "Missing dependency: " + methodHandle; in getOffsetFor()179 return methodHandle.getVirtualFileIndex(virtualFileId); in getOffsetFor()
172 public void setMethodHandle(int index, DexMethodHandle methodHandle) { in setMethodHandle() argument174 methodHandles[index] = methodHandle; in setMethodHandle()
356 DexMethodHandle methodHandle = new DexMethodHandle(type, fieldOrMethod); in createMethodHandle() local357 return canonicalize(methodHandles, methodHandle); in createMethodHandle()
205 DexEncodedMethod method, DexMethodHandle methodHandle) { in rewriteDexMethodHandle() argument206 if (methodHandle.isMethodHandle()) { in rewriteDexMethodHandle()207 DexMethod invokedMethod = methodHandle.asMethod(); in rewriteDexMethodHandle()211 MethodHandleType newType = methodHandle.type; in rewriteDexMethodHandle()221 DexField field = methodHandle.asField(); in rewriteDexMethodHandle()224 return new DexMethodHandle(methodHandle.type, actualField); in rewriteDexMethodHandle()227 return methodHandle; in rewriteDexMethodHandle()
100 boolean addMethodHandle(DexMethodHandle methodHandle); in addMethodHandle() argument
670 private void writeMethodHandle(DexMethodHandle methodHandle) { in writeMethodHandle() argument673 switch (methodHandle.type) { in writeMethodHandle()681 methodHandleDexType = methodHandle.type; in writeMethodHandle()688 if (methodHandle.isMethodHandle()) { in writeMethodHandle()689 fieldOrMethodIdx = mapping.getOffsetFor(methodHandle.asMethod()); in writeMethodHandle()691 assert methodHandle.isFieldHandle(); in writeMethodHandle()692 fieldOrMethodIdx = mapping.getOffsetFor(methodHandle.asField()); in writeMethodHandle()
497 public boolean addMethodHandle(DexMethodHandle methodHandle) { in addMethodHandle() argument498 return addItem(methodHandle, methodHandles); in addMethodHandle()591 public boolean addMethodHandle(DexMethodHandle methodHandle) { in addMethodHandle() argument592 return maybeInsert(methodHandle, methodHandles); in addMethodHandle()
306 public boolean addMethodHandle(DexMethodHandle methodHandle) { in addMethodHandle() argument
1288 public boolean addMethodHandle(DexMethodHandle methodHandle) { in addMethodHandle() argument