Uses of Interface
spoon.reflect.declaration.CtModule
Packages that use CtModule
Package
Description
This package defines the Spoon's compile-time meta-model of Java programs.
This package contains the meta-model part that models the declarations (program's structures such as classes, fields, etc).
This package defines all the sub-factories for the Spoon meta-model.
This package defines the references to program elements for the meta-model.
This package defines visitor, scanner, and scanner-based query API for Java programs reified in the meta-model.
This package contains some default implementations for commonly used processing tasks.
-
Uses of CtModule in spoon.reflect
Methods in spoon.reflect that return CtModuleModifier and TypeMethodDescriptionCtModel.getUnnamedModule()
Returns the unnamed module.CtModelImpl.getUnnamedModule()
Methods in spoon.reflect that return types with arguments of type CtModuleModifier and TypeMethodDescriptionCtModel.getAllModules()
returns all modules of the modelCtModelImpl.getAllModules()
-
Uses of CtModule in spoon.reflect.declaration
Methods in spoon.reflect.declaration with type parameters of type CtModuleModifier and TypeMethodDescription<T extends CtModule>
TCtModule.addExportedPackage(CtPackageExport exportedPackage)
<T extends CtModule>
TCtModule.addModuleDirective(CtModuleDirective moduleDirective)
<T extends CtModule>
TCtModule.addModuleDirectiveAt(int position, CtModuleDirective moduleDirective)
<T extends CtModule>
TCtModule.addOpenedPackage(CtPackageExport openedPackage)
<T extends CtModule>
TCtModule.addProvidedService(CtProvidedService providedService)
<T extends CtModule>
TCtModule.addRequiredModule(CtModuleRequirement requiredModule)
<T extends CtModule>
TCtModule.addUsedService(CtUsedService usedService)
<T extends CtModule>
TCtModule.removeExportedPackage(CtPackageExport exportedPackage)
<T extends CtModule>
TCtModule.removeModuleDirective(CtModuleDirective moduleDirective)
<T extends CtModule>
TCtModule.removeOpenedPackage(CtPackageExport openedPackage)
<T extends CtModule>
TCtModule.removeProvidedService(CtProvidedService providedService)
<T extends CtModule>
TCtModule.removeRequiredModule(CtModuleRequirement requiredModule)
<T extends CtModule>
TCtModule.removeUsedService(CtUsedService usedService)
<T extends CtModule>
TCtModule.setExportedPackages(List<CtPackageExport> exportedPackages)
<T extends CtModule>
TCtModule.setIsOpenModule(boolean openModule)
<T extends CtModule>
TCtModule.setModuleDirectives(List<CtModuleDirective> moduleDirectives)
<T extends CtModule>
TCtModule.setOpenedPackages(List<CtPackageExport> openedPackages)
<T extends CtModule>
TCtModule.setProvidedServices(List<CtProvidedService> providedServices)
<T extends CtModule>
TCtModule.setRequiredModules(List<CtModuleRequirement> requiredModules)
<T extends CtModule>
TCtModule.setRootPackage(CtPackage rootPackage)
<T extends CtModule>
TCtModule.setUsedServices(List<CtUsedService> usedServices)
Methods in spoon.reflect.declaration that return CtModuleModifier and TypeMethodDescriptionCtModule.clone()
CtCompilationUnit.getDeclaredModule()
Gets the declared module if the compilationUnit is "module-info.java"CtPackage.getDeclaringModule()
Gets the declaring module.Methods in spoon.reflect.declaration with parameters of type CtModuleModifier and TypeMethodDescriptionCtCompilationUnit.setDeclaredModule(CtModule module)
Sets the declared module if the compilationUnit is "module-info.java" It is here for backward compatibility. -
Uses of CtModule in spoon.reflect.factory
Classes in spoon.reflect.factory that implement CtModuleMethods in spoon.reflect.factory that return CtModuleModifier and TypeMethodDescriptionCoreFactory.createModule()
Creates a Java 9 moduleFactory.createModule(String moduleName)
FactoryImpl.createModule(String moduleName)
ModuleFactory.getOrCreate(String moduleName)
Methods in spoon.reflect.factory that return types with arguments of type CtModuleModifier and TypeMethodDescriptionModuleFactory.CtUnnamedModule.getAllModules()
ModuleFactory.getAllModules()
Methods in spoon.reflect.factory with parameters of type CtModuleModifier and TypeMethodDescriptionboolean
Factory.createModuleReference(CtModule ctModule)
FactoryImpl.createModuleReference(CtModule ctModule)
ModuleFactory.createReference(CtModule module)
CompilationUnitFactory.getOrCreate(CtModule module)
PackageFactory.getOrCreate(String qualifiedName, CtModule rootModule)
Gets or creates a package and make its parent the given module -
Uses of CtModule in spoon.reflect.reference
Methods in spoon.reflect.reference that return CtModule -
Uses of CtModule in spoon.reflect.visitor
Methods in spoon.reflect.visitor with parameters of type CtModuleModifier and TypeMethodDescriptionDefaultJavaPrettyPrinter.printModuleInfo(CtModule module)
PrettyPrinter.printModuleInfo(CtModule module)
Prints the module info.void
CtAbstractVisitor.visitCtModule(CtModule module)
void
CtBiScannerDefault.visitCtModule(CtModule module)
void
CtInheritanceScanner.visitCtModule(CtModule module)
void
CtScanner.visitCtModule(CtModule module)
void
CtVisitor.visitCtModule(CtModule module)
Visits a module declarationvoid
DefaultJavaPrettyPrinter.visitCtModule(CtModule module)
-
Uses of CtModule in spoon.support
Methods in spoon.support that return CtModuleMethods in spoon.support with parameters of type CtModuleModifier and TypeMethodDescriptionprotected Path
DefaultOutputDestinationHandler.getDirectoryPath(CtModule module, CtPackage pack, CtType type)
protected Path
DefaultOutputDestinationHandler.getModulePath(CtModule module)
DefaultOutputDestinationHandler.getOutputPath(CtModule module, CtPackage pack, CtType type)
OutputDestinationHandler.getOutputPath(CtModule module, CtPackage pack, CtType type)
-
Uses of CtModule in spoon.support.reflect.declaration
Classes in spoon.support.reflect.declaration that implement CtModuleMethods in spoon.support.reflect.declaration with type parameters of type CtModuleModifier and TypeMethodDescription<T extends CtModule>
TCtModuleImpl.addExportedPackage(CtPackageExport exportedPackage)
<T extends CtModule>
TCtModuleImpl.addModuleDirective(CtModuleDirective moduleDirective)
<T extends CtModule>
TCtModuleImpl.addModuleDirectiveAt(int position, CtModuleDirective moduleDirective)
<T extends CtModule>
TCtModuleImpl.addOpenedPackage(CtPackageExport openedPackage)
<T extends CtModule>
TCtModuleImpl.addProvidedService(CtProvidedService providedService)
<T extends CtModule>
TCtModuleImpl.addRequiredModule(CtModuleRequirement requiredModule)
<T extends CtModule>
TCtModuleImpl.addUsedService(CtUsedService consumedService)
<T extends CtModule>
TCtModuleImpl.removeExportedPackage(CtPackageExport exportedPackage)
<T extends CtModule>
TCtModuleImpl.removeModuleDirective(CtModuleDirective moduleDirective)
<T extends CtModule>
TCtModuleImpl.removeOpenedPackage(CtPackageExport openedPackage)
<T extends CtModule>
TCtModuleImpl.removeProvidedService(CtProvidedService providedService)
<T extends CtModule>
TCtModuleImpl.removeRequiredModule(CtModuleRequirement requiredModule)
<T extends CtModule>
TCtModuleImpl.removeUsedService(CtUsedService usedService)
<T extends CtModule>
TCtModuleImpl.setExportedPackages(List<CtPackageExport> exportedPackages)
<T extends CtModule>
TCtModuleImpl.setIsOpenModule(boolean openModule)
<T extends CtModule>
TCtModuleImpl.setModuleDirectives(List<CtModuleDirective> moduleDirectives)
<T extends CtModule>
TCtModuleImpl.setOpenedPackages(List<CtPackageExport> openedPackages)
<T extends CtModule>
TCtModuleImpl.setProvidedServices(List<CtProvidedService> providedServices)
<T extends CtModule>
TCtModuleImpl.setRequiredModules(List<CtModuleRequirement> requiredModules)
<T extends CtModule>
TCtModuleImpl.setRootPackage(CtPackage rootPackage)
<T extends CtModule>
TCtModuleImpl.setUsedServices(List<CtUsedService> consumedServices)
Methods in spoon.support.reflect.declaration that return CtModuleModifier and TypeMethodDescriptionCtModuleImpl.clone()
CtCompilationUnitImpl.getDeclaredModule()
CtPackageImpl.getDeclaringModule()
Methods in spoon.support.reflect.declaration with parameters of type CtModule -
Uses of CtModule in spoon.support.reflect.reference
Methods in spoon.support.reflect.reference that return CtModule -
Uses of CtModule in spoon.support.visitor.clone
Methods in spoon.support.visitor.clone with parameters of type CtModuleModifier and TypeMethodDescriptionvoid
CloneBuilder.visitCtModule(CtModule module)
void
CloneVisitor.visitCtModule(CtModule module)
-
Uses of CtModule in spoon.support.visitor.replace
Methods in spoon.support.visitor.replace with parameters of type CtModule