Uses of Interface
org.eclipse.jdt.core.IModuleDescription
-
Packages that use IModuleDescription Package Description org.eclipse.jdt.core The Java model is the set of classes that model the objects associated with creating, editing, and building a Java program.org.eclipse.jdt.core.manipulation Application programming interface for the JDT core manipulation plug-in class. -
-
Uses of IModuleDescription in org.eclipse.jdt.core
Methods in org.eclipse.jdt.core that return IModuleDescription Modifier and Type Method Description IModuleDescription
IJavaProject. findModule(String moduleName, WorkingCopyOwner owner)
Finds the first module with the given name found following this project's module path.static IModuleDescription
JavaCore. getAutomaticModuleDescription(IJavaElement element)
Returns theIModuleDescription
that the given java element contains when regarded as an automatic module.IModuleDescription
IModularClassFile. getModule()
Returns the module description contained in this type root.default IModuleDescription
ITypeRoot. getModule()
Returns the module description contained in this type root or null if there is no module in this type root.IModuleDescription
IJavaProject. getModuleDescription()
Returns theIModuleDescription
this project represents or null if the Java project doesn't represent any named module.IModuleDescription
IPackageFragmentRoot. getModuleDescription()
Returns theIModuleDescription
that this package fragment root contains.IModuleDescription
IJavaProject. getOwnModuleDescription()
Returns theIModuleDescription
owned by this project or null if the Java project doesn't own a valid Java module descriptor.Methods in org.eclipse.jdt.core with parameters of type IModuleDescription Modifier and Type Method Description static byte[]
JavaCore. compileWithAttributes(IModuleDescription module, Map<String,String> classFileAttributes)
Compile the given module description in the context of its enclosing Java project and add class file attributes using the given map of attribute values.String[]
IModuleDescription. getExportedPackageNames(IModuleDescription targetModule)
Get names of exported packages.String[]
IModuleDescription. getOpenedPackageNames(IModuleDescription targetModule)
Get names of opened packages. -
Uses of IModuleDescription in org.eclipse.jdt.core.manipulation
Methods in org.eclipse.jdt.core.manipulation with parameters of type IModuleDescription Modifier and Type Method Description static String
CodeGeneration. getModuleComment(ICompilationUnit cu, IModuleDescription desc, String lineDelimiter)
Returns the comment for a module based on code templates
-