5ab79a111d
This is needed for further commit, which supports contracts-based smartcasts in partial body resolve mode. NB: Stubs can be built from 3 sources: - source code (contract presence can be checked by PSI) - binary data (contract presence can be checked by Kotlin Metadata) - decompiled sources The last case is a bit of a headache, because usually bodies are omitted in decompiled sources. To workaround it, we have to inject stubbed contract-call in the body.
40 lines
2.2 KiB
Plaintext
Vendored
40 lines
2.2 KiB
Plaintext
Vendored
PsiJetFileStubImpl[package=p]
|
|
PACKAGE_DIRECTIVE
|
|
REFERENCE_EXPRESSION[referencedName=p]
|
|
IMPORT_LIST
|
|
CLASS[fqName=p.PrivateToThis, isEnumEntry=false, isInterface=false, isLocal=false, isTopLevel=true, name=PrivateToThis, superNames=[]]
|
|
MODIFIER_LIST[public final]
|
|
TYPE_PARAMETER_LIST
|
|
TYPE_PARAMETER[fqName=null, isInVariance=true, isOutVariance=false, name=I]
|
|
MODIFIER_LIST[in]
|
|
PRIMARY_CONSTRUCTOR
|
|
MODIFIER_LIST[public]
|
|
VALUE_PARAMETER_LIST
|
|
CLASS_BODY
|
|
PROPERTY[fqName=p.PrivateToThis.bar, hasDelegate=false, hasDelegateExpression=false, hasInitializer=false, hasReturnTypeRef=true, isExtension=false, isTopLevel=false, isVar=true, name=bar]
|
|
MODIFIER_LIST[private final]
|
|
TYPE_REFERENCE
|
|
USER_TYPE
|
|
REFERENCE_EXPRESSION[referencedName=I]
|
|
PROPERTY[fqName=p.PrivateToThis.foo, hasDelegate=false, hasDelegateExpression=false, hasInitializer=false, hasReturnTypeRef=true, isExtension=false, isTopLevel=false, isVar=false, name=foo]
|
|
MODIFIER_LIST[private final]
|
|
TYPE_REFERENCE
|
|
USER_TYPE
|
|
REFERENCE_EXPRESSION[referencedName=I]
|
|
PROPERTY[fqName=p.PrivateToThis.val_with_accessors, hasDelegate=false, hasDelegateExpression=false, hasInitializer=false, hasReturnTypeRef=true, isExtension=false, isTopLevel=false, isVar=false, name=val_with_accessors]
|
|
MODIFIER_LIST[private final]
|
|
TYPE_REFERENCE
|
|
USER_TYPE
|
|
REFERENCE_EXPRESSION[referencedName=I]
|
|
PROPERTY[fqName=p.PrivateToThis.var_with_accessors, hasDelegate=false, hasDelegateExpression=false, hasInitializer=false, hasReturnTypeRef=true, isExtension=false, isTopLevel=false, isVar=true, name=var_with_accessors]
|
|
MODIFIER_LIST[private final]
|
|
TYPE_REFERENCE
|
|
USER_TYPE
|
|
REFERENCE_EXPRESSION[referencedName=I]
|
|
FUN[fqName=p.PrivateToThis.bas, hasBlockBody=true, hasBody=true, hasTypeParameterListBeforeFunctionName=false, isExtension=false, isTopLevel=false, mayHaveContract=false, name=bas]
|
|
MODIFIER_LIST[private final]
|
|
VALUE_PARAMETER_LIST
|
|
TYPE_REFERENCE
|
|
USER_TYPE
|
|
REFERENCE_EXPRESSION[referencedName=I]
|