Files
kotlin-fork/compiler/testData/asJava/lightClasses/lightClassByFqName/withTestCompilerPluginEnabled/allOpen.java
T
Roman Golyshev 105611679e [AA FIR] KT-58503 Use resolvedStatus to access visibility and modality of a class
Compiler plugins (AllOpen, for example) can modify the status of a
declaration, including visibility and modality. If we observe them
without enforcing STATUS resolve, we risk to see incorrect information,
which in turn can lead to false negatives/positives in
inspections/intentions.

Add test for light classes. See KT-58503 description for the explanation
how the initial problem was influencing Spring inspections from intellij
repository.

^KT-58503 Fixed
2023-05-09 13:20:16 +00:00

12 lines
292 B
Java
Vendored

@org.jetbrains.kotlin.fir.plugin.AllOpen()
public final class BaseClass /* test.BaseClass*/ {
private int prop;
public BaseClass();// .ctor()
public final int getProp();// getProp()
public final void function();// function()
public final void setProp(int);// setProp(int)
}