langtools/src/share/classes/javax/lang/model/element/ExecutableElement.java
changeset 14956 185bd7c693d8
parent 14258 8d2148961366
child 16557 67a3ae363f03
--- a/langtools/src/share/classes/javax/lang/model/element/ExecutableElement.java	Mon Dec 17 15:19:38 2012 -0800
+++ b/langtools/src/share/classes/javax/lang/model/element/ExecutableElement.java	Tue Dec 18 00:24:54 2012 -0800
@@ -78,6 +78,16 @@
     boolean isVarArgs();
 
     /**
+     * Returns {@code true} if this method is a default method and
+     * returns {@code false} otherwise.
+     *
+     * @return {@code true} if this method is a default method and
+     * {@code false} otherwise
+     * @since 1.8
+     */
+    boolean isDefault();
+
+    /**
      * Returns the exceptions and other throwables listed in this
      * method or constructor's {@code throws} clause in declaration
      * order.