src/share/classes/com/sun/tools/javac/comp/LambdaToMethod.java

changeset 1622
a02c3ddc182b
parent 1619
c98b3e96c726
child 1624
d0ae21e3a382
equal deleted inserted replaced
1621:823fb9229724 1622:a02c3ddc182b
556 private void addDeserializationCase(int implMethodKind, Symbol refSym, Type targetType, MethodSymbol samSym, 556 private void addDeserializationCase(int implMethodKind, Symbol refSym, Type targetType, MethodSymbol samSym,
557 DiagnosticPosition pos, List<Object> staticArgs, MethodType indyType) { 557 DiagnosticPosition pos, List<Object> staticArgs, MethodType indyType) {
558 String functionalInterfaceClass = classSig(targetType); 558 String functionalInterfaceClass = classSig(targetType);
559 String functionalInterfaceMethodName = samSym.getSimpleName().toString(); 559 String functionalInterfaceMethodName = samSym.getSimpleName().toString();
560 String functionalInterfaceMethodSignature = methodSig(types.erasure(samSym.type)); 560 String functionalInterfaceMethodSignature = methodSig(types.erasure(samSym.type));
561 String implClass = classSig(refSym.owner.type); 561 String implClass = classSig(types.erasure(refSym.owner.type));
562 String implMethodName = refSym.getQualifiedName().toString(); 562 String implMethodName = refSym.getQualifiedName().toString();
563 String implMethodSignature = methodSig(types.erasure(refSym.type)); 563 String implMethodSignature = methodSig(types.erasure(refSym.type));
564 564
565 JCExpression kindTest = eqTest(syms.intType, deserGetter("getImplMethodKind", syms.intType), make.Literal(implMethodKind)); 565 JCExpression kindTest = eqTest(syms.intType, deserGetter("getImplMethodKind", syms.intType), make.Literal(implMethodKind));
566 ListBuffer<JCExpression> serArgs = ListBuffer.lb(); 566 ListBuffer<JCExpression> serArgs = ListBuffer.lb();

mercurial