langtools/src/java.compiler/share/classes/javax/lang/model/util/Elements.java
changeset 43767 9cff98a149cb
parent 43589 2e1691ced520
child 43857 37614a3b7193
equal deleted inserted replaced
43648:ce7b7f98a236 43767:9cff98a149cb
   109      * {@code null}.
   109      * {@code null}.
   110      *
   110      *
   111      * @param name  the name
   111      * @param name  the name
   112      * @return the named module element, or {@code null} if it cannot be found
   112      * @return the named module element, or {@code null} if it cannot be found
   113      * @since 9
   113      * @since 9
       
   114      * @spec JPMS
   114      */
   115      */
   115     default ModuleElement getModuleElement(CharSequence name) {
   116     default ModuleElement getModuleElement(CharSequence name) {
   116         return null;
   117         return null;
   117     }
   118     }
   118 
   119 
   357      * {@code null}.
   358      * {@code null}.
   358      *
   359      *
   359      * @param type the element being examined
   360      * @param type the element being examined
   360      * @return the module of an element
   361      * @return the module of an element
   361      * @since 9
   362      * @since 9
       
   363      * @spec JPMS
   362      */
   364      */
   363     default ModuleElement getModuleOf(Element type) {
   365     default ModuleElement getModuleOf(Element type) {
   364         return null;
   366         return null;
   365     }
   367     }
   366 
   368