KotlinResolutionContext

data class KotlinResolutionContext(val unit: BaseUnit, val shapeIndex: ShapeIndex, val suggestedTypeName: ClassName?) : ResolutionContext

Constructors

Link copied to clipboard
fun KotlinResolutionContext(unit: BaseUnit, shapeIndex: ShapeIndex, suggestedTypeName: ClassName?)

Functions

Link copied to clipboard
open fun findAllProperties(shape: NodeShape): List<PropertyShape>
Link copied to clipboard
open fun findDeclaringUnit(element: DomainElement): BaseUnit
Link copied to clipboard
open fun findImportingUnit(element: DomainElement, allUnits: List<BaseUnit>): BaseUnit?
Link copied to clipboard
open fun findInheritingShapes(shape: Shape): List<Shape>
Link copied to clipboard
open fun findProperties(shape: NodeShape): List<PropertyShape>
Link copied to clipboard
open fun findRootShape(shape: Shape): Shape
Link copied to clipboard
open fun findSuperShapeOrNull(shape: Shape): Shape?
Link copied to clipboard
open fun getReferenceTarget(shape: Shape): Shape?
Link copied to clipboard
open fun hasInherited(shape: Shape): Boolean
Link copied to clipboard
open fun hasNoInherited(shape: Shape): Boolean
Link copied to clipboard
open fun hasNoInheriting(shape: Shape): Boolean
Link copied to clipboard
open fun resolveRef(name: String, source: DomainElement): Pair<DomainElement, BaseUnit>?

Properties

Link copied to clipboard
open override val shapeIndex: ShapeIndex
Link copied to clipboard
val suggestedTypeName: ClassName?
Link copied to clipboard
open override val unit: BaseUnit