src/jdk.compiler/share/classes/com/sun/tools/javac/tree/JCTree.java
changeset 47268 48ec75306997
parent 47216 71c04702a3d5
child 47318 423f5e46016e
--- a/src/jdk.compiler/share/classes/com/sun/tools/javac/tree/JCTree.java	Tue Sep 26 15:08:56 2017 +0530
+++ b/src/jdk.compiler/share/classes/com/sun/tools/javac/tree/JCTree.java	Tue Sep 26 12:52:53 2017 +0100
@@ -946,6 +946,10 @@
             }
         }
 
+        public boolean isImplicitlyTyped() {
+            return vartype == null;
+        }
+
         @Override
         public void accept(Visitor v) { v.visitVarDef(this); }