AnvilModuleDescriptor

interface AnvilModuleDescriptor : ModuleDescriptor

Properties

Link copied to clipboard
abstract val allDependencyModules: List<ModuleDescriptor>
Link copied to clipboard
abstract val allExpectedByModules: Set<ModuleDescriptor>
Link copied to clipboard
abstract val annotations: Annotations
Link copied to clipboard
abstract val builtIns: KotlinBuiltIns
Link copied to clipboard
abstract val expectedByModules: List<ModuleDescriptor>
Link copied to clipboard
abstract val isValid: Boolean
Link copied to clipboard
abstract val platform: TargetPlatform?
Link copied to clipboard
abstract val stableName: Name?

Functions

Link copied to clipboard
open override fun <R, D> accept(visitor: DeclarationDescriptorVisitor<R, D>, data: D): R?
Link copied to clipboard
abstract fun acceptVoid(p0: DeclarationDescriptorVisitor<Void, Void>)
Link copied to clipboard
abstract fun assertValid()
Link copied to clipboard
abstract fun <T> getCapability(capability: ModuleCapability<T>): T?
Link copied to clipboard
Link copied to clipboard
abstract fun getClassReference(descriptor: ClassDescriptor): ClassReference.Descriptor
abstract fun getClassReference(clazz: KtClassOrObject): ClassReference.Psi
Link copied to clipboard
abstract fun getClassReferenceOrNull(fqName: FqName): ClassReference?

Attempts to find the KtClassOrObject for the FqName first, then falls back to the ClassDescriptor if the Psi element cannot be found. This will happen if the class for FqName is not part of this compilation unit.

Link copied to clipboard
open override fun getContainingDeclaration(): DeclarationDescriptor?
Link copied to clipboard
@NotNull
abstract fun getName(): Name
Link copied to clipboard
@NotNull
abstract fun getOriginal(): DeclarationDescriptor
Link copied to clipboard
abstract fun getPackage(fqName: FqName): PackageViewDescriptor
Link copied to clipboard
abstract fun getSubPackagesOf(fqName: FqName, nameFilter: (Name) -> Boolean): Collection<FqName>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract fun resolveClassIdOrNull(classId: ClassId): FqName?
Link copied to clipboard
abstract fun resolveFqNameOrNull(fqName: FqName, lookupLocation: LookupLocation = FROM_BACKEND): ClassDescriptor?
Link copied to clipboard
abstract fun resolvePropertyReferenceOrNull(fqName: FqName): PropertyReference?
Link copied to clipboard
abstract fun resolveTypeAliasFqNameOrNull(fqName: FqName): TypeAliasDescriptor?
Link copied to clipboard
abstract fun shouldSeeInternalsOf(targetModule: ModuleDescriptor): Boolean
Link copied to clipboard
open fun validate()