public void invokeVirtual(TypeDesc classDesc, String methodName, TypeDesc ret, TypeDesc[] params) { mAssembler.invokeVirtual(classDesc, methodName, ret, params); }
public void invokeVirtual(String className, String methodName, TypeDesc ret, TypeDesc[] params) { mAssembler.invokeVirtual(className, methodName, ret, params); }
public void invokeVirtual(TypeDesc classDesc, String methodName, TypeDesc ret, TypeDesc[] params) { mAssembler.invokeVirtual(classDesc, methodName, ret, params); }
public void invokeVirtual(String className, String methodName, TypeDesc ret, TypeDesc[] params) { mAssembler.invokeVirtual(className, methodName, ret, params); }
public void addInvokeReadMethod(CodeAssembler a, TypeDesc instanceType) { Class clazz = instanceType.toClass(); if (clazz == null) { // Can't know if instance should be invoked as an interface or as a // virtual method. throw new IllegalArgumentException("Instance type has no known class"); } if (clazz.isInterface()) { a.invokeInterface(instanceType, getReadMethodName(), getPropertyType(), null); } else { a.invokeVirtual(instanceType, getReadMethodName(), getPropertyType(), null); } }
public void addInvokeReadMethod(CodeAssembler a, TypeDesc instanceType) { Class clazz = instanceType.toClass(); if (clazz == null) { // Can't know if instance should be invoked as an interface or as a // virtual method. throw new IllegalArgumentException("Instance type has no known class"); } if (clazz.isInterface()) { a.invokeInterface(instanceType, getReadMethodName(), getPropertyType(), null); } else { a.invokeVirtual(instanceType, getReadMethodName(), getPropertyType(), null); } }
public void addInvokeWriteMethod(CodeAssembler a, TypeDesc instanceType) { Class clazz = instanceType.toClass(); if (clazz == null) { // Can't know if instance should be invoked as an interface or as a // virtual method. throw new IllegalArgumentException("Instance type has no known class"); } if (clazz.isInterface()) { a.invokeInterface(instanceType, getWriteMethodName(), null, new TypeDesc[] {getPropertyType()}); } else { a.invokeVirtual(instanceType, getWriteMethodName(), null, new TypeDesc[] {getPropertyType()}); } }
public void addInvokeWriteMethod(CodeAssembler a, TypeDesc instanceType) { Class clazz = instanceType.toClass(); if (clazz == null) { // Can't know if instance should be invoked as an interface or as a // virtual method. throw new IllegalArgumentException("Instance type has no known class"); } if (clazz.isInterface()) { a.invokeInterface(instanceType, getWriteMethodName(), null, new TypeDesc[] {getPropertyType()}); } else { a.invokeVirtual(instanceType, getWriteMethodName(), null, new TypeDesc[] {getPropertyType()}); } }
case Opcode.INVOKEVIRTUAL: if (className == null) { assembler.invokeVirtual(methodName, ret, paramTypes); } else { assembler.invokeVirtual(className, methodName, ret, paramTypes);
} else { a.invokeVirtual(info.getReadMethodName() + '$', storageType, null); } else { a.invokeVirtual(instanceVar.getType(), info.getReadMethodName() + '$', storageType, null);
} else { a.invokeVirtual(info.getReadMethodName() + '$', storageType, null); } else { a.invokeVirtual(instanceVar.getType(), info.getReadMethodName() + '$', storageType, null);
} else { a.invokeVirtual(info.getWriteMethodName() + '$', null, new TypeDesc[] {storageType}); } else { a.invokeVirtual(instanceVarType, info.getWriteMethodName() + '$', null, new TypeDesc[] {storageType});
} else { a.invokeVirtual(info.getWriteMethodName() + '$', null, new TypeDesc[] {storageType}); } else { a.invokeVirtual(instanceVarType, info.getWriteMethodName() + '$', null, new TypeDesc[] {storageType});
a.invokeVirtual(TypeDesc.OBJECT, "clone", TypeDesc.OBJECT, null); a.checkCast(byteArrayType);
a.invokeVirtual(TypeDesc.OBJECT, "clone", TypeDesc.OBJECT, null); a.checkCast(byteArrayType);
case Opcode.INVOKEVIRTUAL: if (className == null) { assembler.invokeVirtual(methodName, ret, paramTypes); } else { assembler.invokeVirtual(className, methodName, ret, paramTypes);