public static void writeDynamicCallSite(final ITextOutput output, final DynamicCallSite operand) { output.writeReference(operand.getMethodName(), operand.getMethodType()); output.writeDelimiter(":"); writeMethodSignature(output, operand.getMethodType()); }
public static void writeDynamicCallSite(final ITextOutput output, final DynamicCallSite operand) { output.writeReference(operand.getMethodName(), operand.getMethodType()); output.writeDelimiter(":"); writeMethodSignature(output, operand.getMethodType()); }
public static void writeDynamicCallSite(final ITextOutput output, final DynamicCallSite operand) { output.writeReference(operand.getMethodName(), operand.getMethodType()); output.writeDelimiter(":"); writeMethodSignature(output, operand.getMethodType()); }
protected ResolveResult resolveLambda(final AstNode node) { final TypeReference lambdaType = node.getUserData(Keys.TYPE_REFERENCE); if (lambdaType != null) { return resolveType(lambdaType); } final DynamicCallSite callSite = node.getUserData(Keys.DYNAMIC_CALL_SITE); if (callSite != null) { return resolveType(callSite.getMethodType().getReturnType()); } return null; }
protected ResolveResult resolveLambda(final AstNode node) { final TypeReference lambdaType = node.getUserData(Keys.TYPE_REFERENCE); if (lambdaType != null) { return resolveType(lambdaType); } final DynamicCallSite callSite = node.getUserData(Keys.DYNAMIC_CALL_SITE); if (callSite != null) { return resolveType(callSite.getMethodType().getReturnType()); } return null; }
protected ResolveResult resolveLambda(final AstNode node) { final TypeReference lambdaType = node.getUserData(Keys.TYPE_REFERENCE); if (lambdaType != null) { return resolveType(lambdaType); } final DynamicCallSite callSite = node.getUserData(Keys.DYNAMIC_CALL_SITE); if (callSite != null) { return resolveType(callSite.getMethodType().getReturnType()); } return null; }
@Override public void visitDynamicCallSite(final OpCode op, final DynamicCallSite callSite) { printOpCode(op); _output.write(' '); _output.writeReference(callSite.getMethodName(), callSite.getMethodType()); _output.writeDelimiter(":"); DecompilerHelpers.writeMethodSignature(_output, callSite.getMethodType()); _output.writeLine(); }
@Override public void visitDynamicCallSite(final OpCode op, final DynamicCallSite callSite) { printOpCode(op); _output.write(' '); _output.writeReference(callSite.getMethodName(), callSite.getMethodType()); _output.writeDelimiter(":"); DecompilerHelpers.writeMethodSignature(_output, callSite.getMethodType()); _output.writeLine(); }
@Override public void visitDynamicCallSite(final OpCode op, final DynamicCallSite callSite) { printOpCode(op); _output.write(' '); _output.writeAttribute("BootstrapMethod "); _output.writeDelimiter("#"); _output.writeLiteral(callSite.getBootstrapMethodIndex()); _output.writeDelimiter(", "); _output.writeReference(callSite.getMethodName(), callSite.getMethodType()); _output.writeDelimiter(":"); DecompilerHelpers.writeMethodSignature(_output, callSite.getMethodType()); _output.writeLine(); }
@AstVisitor(nodes=AstNodes.EXPRESSIONS, minVersion=8) public void visit(Expression expr, MethodContext mc) { if(expr.getCode() == AstCode.InvokeDynamic) { DynamicCallSite dcs = (DynamicCallSite)expr.getOperand(); MethodHandle actualHandle = Nodes.getMethodHandle(dcs); if(actualHandle != null) { IMethodSignature signature = dcs.getMethodType(); if(signature != null) { check(actualHandle, signature.getReturnType(), mc, expr); } } } }
signature = instruction.<DynamicCallSite>getOperand(0).getMethodType();
final TypeReference functionType = callSite.getMethodType().getReturnType();
final TypeReference functionType = callSite.getMethodType().getReturnType();
signature = instruction.<DynamicCallSite>getOperand(0).getMethodType();
signature = instruction.<DynamicCallSite>getOperand(0).getMethodType();
signature = instruction.<DynamicCallSite>getOperand(0).getMethodType();
lambdaType = callSite.getMethodType().getReturnType();
functionalInterfaceType = callSite.getMethodType().getReturnType();
functionalInterfaceType = callSite.getMethodType().getReturnType();
functionalInterfaceType = callSite.getMethodType().getReturnType();