Initial implementation of KT-8209 Support static member completion without writing the class name
This commit is contained in:
@@ -29,10 +29,10 @@ import java.util.*
|
||||
class KtClassBody : KtElementImplStub<KotlinPlaceHolderStub<KtClassBody>>, KtDeclarationContainer {
|
||||
constructor(node: ASTNode) : super(node)
|
||||
|
||||
override fun getParent() = parentByStub
|
||||
|
||||
constructor(stub: KotlinPlaceHolderStub<KtClassBody>) : super(stub, CLASS_BODY)
|
||||
|
||||
override fun getParent() = parentByStub
|
||||
|
||||
override fun getDeclarations() = Arrays.asList(*getStubOrPsiChildren(DECLARATION_TYPES, KtDeclaration.ARRAY_FACTORY))
|
||||
|
||||
override fun <R, D> accept(visitor: KtVisitor<R, D>, data: D) = visitor.visitClassBody(this, data)
|
||||
|
||||
Reference in New Issue
Block a user