ModuleDescriptor

interface ModuleDescriptor : DeclarationDescriptor

Functions

annotations
Link copied to clipboard
abstract fun annotations(): Annotations
element
Link copied to clipboard
abstract fun element(): Element?
getPackage
Link copied to clipboard
abstract fun getPackage(pck: String): PackageViewDescriptor?
getSubPackagesOf
Link copied to clipboard
abstract fun getSubPackagesOf(fqName: FqName): List<FqName>
impl
Link copied to clipboard
abstract fun impl(): Any

Properties

containingDeclaration
Link copied to clipboard
abstract val containingDeclaration: DeclarationDescriptor?
containingPackage
Link copied to clipboard
abstract val containingPackage: FqName?
fqNameSafe
Link copied to clipboard
abstract val fqNameSafe: FqName
hasDoNotLookAtArgumentsAnnotation
Link copied to clipboard
open val hasDoNotLookAtArgumentsAnnotation: Boolean
hasPackageWithLawsAnnotation
Link copied to clipboard
open val hasPackageWithLawsAnnotation: Boolean
hasPreOrPostAnnotation
Link copied to clipboard
open val hasPreOrPostAnnotation: Boolean
name
Link copied to clipboard
abstract val name: Name
packageWithLawsAnnotation
Link copied to clipboard
open val packageWithLawsAnnotation: AnnotationDescriptor?
stableName
Link copied to clipboard
abstract val stableName: Name?

Extensions

gather
Link copied to clipboard
fun ModuleDescriptor.gather(initialPackages: List<FqName> = listOf(FqName("")), addSubPackages: Boolean, predicate: (DeclarationDescriptor) -> Boolean): List<DeclarationDescriptor>

Gather all descriptors which satisfy a predicate, going inside every element recursively.