Package spoon.reflect.declaration
Interface CtModuleDirective
- All Superinterfaces:
Cloneable
,CtElement
,CtQueryable
,CtVisitable
,FactoryAccessor
,Serializable
,SourcePositionHolder
- All Known Subinterfaces:
CtModuleRequirement
,CtPackageExport
,CtProvidedService
,CtUsedService
- All Known Implementing Classes:
CtModuleRequirementImpl
,CtPackageExportImpl
,CtProvidedServiceImpl
,CtUsedServiceImpl
Represents a directive of a
CtModule
The directives of a module declaration specify the module's dependences on other modules CtModuleRequirement
,
the packages it makes available to other modules CtPackageExport
,
the services it consumes CtUsedService
,
and the services it provides CtProvidedService
.-
Method Summary
Methods inherited from interface spoon.reflect.declaration.CtElement
addAnnotation, addComment, asIterable, clone, delete, descendantIterator, getAllMetadata, getAnnotatedChildren, getAnnotation, getAnnotation, getAnnotations, getComments, getDirectChildren, getDocComment, getElements, getMetadata, getMetadataKeys, getOriginalSourceFragment, getParent, getParent, getParent, getPath, getPosition, getReferencedTypes, getRoleInParent, getShortRepresentation, getValueByRole, hasAnnotation, hasParent, isImplicit, isParentInitialized, prettyprint, putMetadata, removeAnnotation, removeComment, replace, replace, setAllMetadata, setAnnotations, setComments, setDocComment, setImplicit, setParent, setPosition, setPositions, setValueByRole, toString, toStringDebug, updateAllParentsBelow
Methods inherited from interface spoon.reflect.visitor.chain.CtQueryable
filterChildren, map, map
Methods inherited from interface spoon.reflect.visitor.CtVisitable
accept
Methods inherited from interface spoon.processing.FactoryAccessor
getFactory, setFactory