< prev index next >

src/java.compiler/share/classes/javax/lang/model/util/Elements.java

Print this page

        

@@ -96,10 +96,11 @@
      * source version} without modules.
      *
      * @param name  the name
      * @return the named module element, or {@code null} if it cannot be found
      * @since 9
+     * @spec JPMS
      */
     ModuleElement getModuleElement(CharSequence name);
 
     /**
      * Returns the values of an annotation's elements, including defaults.

@@ -338,10 +339,11 @@
      * source version} without modules.
      *
      * @param type the element being examined
      * @return the module of an element
      * @since 9
+     * @spec JPMS
      */
     ModuleElement getModuleOf(Element type);
 
     /**
      * Returns all members of a type element, whether inherited or
< prev index next >