Introduce additional API for introspecting functions

memberFunctions, declaredMemberFunctions, staticFunctions, etc.

 #KT-8797 Fixed
This commit is contained in:
Alexander Udalov
2015-08-20 15:37:55 -07:00
parent ebe4a8ec89
commit a73d02418d
11 changed files with 191 additions and 32 deletions
@@ -285,6 +285,12 @@ public class BlackBoxWithJavaCodegenTestGenerated extends AbstractBlackBoxCodege
doTestWithJava(fileName);
}
@TestMetadata("declaredVsInheritedFunctions")
public void testDeclaredVsInheritedFunctions() throws Exception {
String fileName = JetTestUtils.navigationMetadata("compiler/testData/codegen/boxWithJava/reflection/declaredVsInheritedFunctions/");
doTestWithJava(fileName);
}
@TestMetadata("functionReferenceErasedToKFunction")
public void testFunctionReferenceErasedToKFunction() throws Exception {
String fileName = JetTestUtils.navigationMetadata("compiler/testData/codegen/boxWithJava/reflection/functionReferenceErasedToKFunction/");