langtools/src/share/classes/com/sun/tools/javac/tree/JCTree.java
changeset 18730 95354d510139
parent 18412 d0e713f5cabd
child 19491 887e13b16ccf
--- a/langtools/src/share/classes/com/sun/tools/javac/tree/JCTree.java	Thu Jul 11 10:13:57 2013 -0700
+++ b/langtools/src/share/classes/com/sun/tools/javac/tree/JCTree.java	Thu Jul 11 14:07:39 2013 +0100
@@ -641,10 +641,12 @@
             polyKind = PolyKind.POLY;
         }
 
-        /** target descriptor inferred for this functional expression. */
-        public Type descriptorType;
         /** list of target types inferred for this functional expression. */
-        public List<TypeSymbol> targets;
+        public List<Type> targets;
+
+        public Type getDescriptorType(Types types) {
+            return types.findDescriptorType(targets.head);
+        }
     }
 
     /**