- 所有父级接口:
ModuleElement.Directive
- 封闭接口:
ModuleElement
模块的依赖。
- 自从:
- 9
-
方法总结
在接口 javax.lang.model.element.ModuleElement.Directive 中声明的方法
accept, getKind
-
方法详情
-
isStatic
boolean isStatic()返回这是否是静态依赖项。- 返回:
- 这是否是静态依赖
-
isTransitive
boolean isTransitive()返回这是否是传递依赖。- 返回:
- 这是否是传递依赖
-
getDependency
ModuleElement getDependency()返回所需的模块。- 返回:
- 所需的模块
-