mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-08 15:53:19 +00:00
Introduce experimental -Xuse-javac compilation mode
In this mode, javac AST and Symbol files are used during Kotlin compilation instead of PSI / binary stuff. Later, they are reused for Java file compilation. javac in this mode is integrated into kotlinc.
This commit is contained in:
committed by
Mikhail Glukhikh
parent
c9a04fe1e2
commit
5eea3b6569
26
compiler/testData/compileKotlinAgainstJava/Nesting.java
vendored
Normal file
26
compiler/testData/compileKotlinAgainstJava/Nesting.java
vendored
Normal file
@@ -0,0 +1,26 @@
|
||||
package test;
|
||||
|
||||
public class Nesting {
|
||||
|
||||
public test.Nesting.Second.Third.FourthImpl getImpl() { return null; }
|
||||
|
||||
public static final class Second {
|
||||
|
||||
public static final class Third {
|
||||
|
||||
public interface Fourth {
|
||||
public boolean isImplemented();
|
||||
}
|
||||
|
||||
public static final class FourthImpl implements Fourth {
|
||||
|
||||
@Override
|
||||
public boolean isImplemented() { return true; }
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user