Commit Graph

15731 Commits

Author SHA1 Message Date
Pavel V. Talanov 0eebdfcd7b Fix positioning strategy for OVERRIDING_FINAL_MEMBER
Remove unneeded call to AST
2014-05-21 15:40:17 +04:00
Pavel V. Talanov cf015f2526 Stubs for JetPackageDirective 2014-05-21 15:40:16 +04:00
Pavel V. Talanov 16f4477c38 JetClass#isLocal() by stub 2014-05-21 15:40:15 +04:00
Pavel V. Talanov 8354233f85 Add multi file test for completion of enum entry 2014-05-21 15:40:14 +04:00
Pavel V. Talanov 4c39886edc Minor: fix test data 2014-05-21 15:40:13 +04:00
Pavel V. Talanov e10a0cca59 JetObjectDeclaration#isLocal() by stub 2014-05-21 15:40:13 +04:00
Pavel V. Talanov fbf2cded0d Refactor AbstractMultiFileJvmBasicCompletionTest to extend CompletionTestCase
Extract common code from JetFixtureCompletionBaseTestCase to CompletionTestUtil.kt
Reason for this change is that I couldn't get the check that prohibits tree loading to work with fixture test case
2014-05-21 15:40:12 +04:00
Pavel V. Talanov 1bc4872baf Avoid accessing stubs in JetFileStubBuilder
Probable fix of SOE in file stub building
2014-05-21 15:40:10 +04:00
Pavel V. Talanov 1f5b0b5abb Minor: use getBody() in JetObjectDeclaration instead of obtaining it manually 2014-05-21 15:40:10 +04:00
Pavel V. Talanov 0d4feb3bf3 JetInitializerList#getInitializers() by stub 2014-05-21 15:40:09 +04:00
Pavel V. Talanov 72bdacb074 Add explicit return types to several test data files so that AST access is not needed
Test cases are chosen so that addition/removal of explicit type will not interfere with the original purpose of the test
2014-05-21 15:40:08 +04:00
Pavel V. Talanov a807712ce7 Mark test data files for cases which can't be resolved without AST access 2014-05-21 15:40:07 +04:00
Pavel V. Talanov fd3d322300 Add LazyResolveByStubTest
Tests that lazy resolve uses stubs instead of AST
2014-05-21 15:40:05 +04:00
Pavel V. Talanov 977f4ac070 Get parent by stub in ScopeProvider 2014-05-21 15:40:04 +04:00
Pavel V. Talanov 2f72731d85 Get parent by stub in DescriptorResolver 2014-05-21 15:40:04 +04:00
Pavel V. Talanov ba014552c8 Get parent by stub in LazyTypeParameterDescriptor 2014-05-21 15:40:03 +04:00
Pavel V. Talanov 97ad9320ad Get parent by stub in PsiCodegenPredictor 2014-05-21 15:40:02 +04:00
Pavel V. Talanov f15d363087 Do not invoke getDelegateExpression before it is needed 2014-05-21 15:40:01 +04:00
Pavel V. Talanov 5078be1564 JetFunctionTypeReceiver#getTypeReference() by stub 2014-05-21 15:40:00 +04:00
Pavel V. Talanov c7c9b5f584 JetEnumEntry#getDelegationSpecifiers() by stub 2014-05-21 15:39:59 +04:00
Pavel V. Talanov 77cb81f282 Stubs for JetInitializerList 2014-05-21 15:39:58 +04:00
Pavel V. Talanov 5ad1fac2b2 JetPropertyAccessor#isGetter(), isSetter(), hasBody(), getReturnTypeReference() by stub 2014-05-21 15:39:57 +04:00
Pavel V. Talanov b9aaab12d4 Introduce JetParameter#hasDefaultValue() and use it instead of getDefaultValue() where appropriate 2014-05-21 15:39:56 +04:00
Pavel V. Talanov 5bf5dfc5a4 Use hasInitializer() instead of getInitializer() in DescriptorResolver 2014-05-21 15:39:55 +04:00
Pavel V. Talanov b67b5f92f8 Remove AST query in DescriptorResolver#resolvePrimaryConstructorParameterToAProperty() 2014-05-21 15:39:54 +04:00
Pavel V. Talanov 24ffe3dbb9 Do not call getInitializer() for variables before it is needed when computing compile time constants 2014-05-21 15:39:53 +04:00
Pavel V. Talanov 9aba5beec7 Add hasInitializer() to JetWithExpressionInitializer interface 2014-05-21 15:39:52 +04:00
Pavel V. Talanov 6759d625f7 JetProperty#getAccessors() by stub 2014-05-21 15:39:51 +04:00
Pavel V. Talanov ada9845b5f JetProperty#getReceiverTypeRef() and getReturnTypeRef() by stub 2014-05-21 15:39:50 +04:00
Pavel V. Talanov abda0deac8 Stubs for JetPropertyAccessor 2014-05-21 15:39:49 +04:00
Pavel V. Talanov ba578422cd Add hasReceiverTypeRef() and hasReturnTypeRef() to PsiJetPropertyStub 2014-05-21 15:39:48 +04:00
Pavel V. Talanov 86ac8bbd65 Use stubs in has* methods of JetProperty 2014-05-21 15:39:47 +04:00
Pavel V. Talanov 736465f1c6 Add hasDelegate(), hasDelegateExpression() and hasInitializer() to PsiJetPropertyStub 2014-05-21 15:39:46 +04:00
Pavel V. Talanov a61ab440d7 Extract JetProperty#hasInitializer() and use it where appropriate 2014-05-21 15:39:45 +04:00
Pavel V. Talanov 58651d02c2 Extract JetProperty#hasDelegate() and hasDelegateExpression() and use it where appropriate 2014-05-21 15:39:44 +04:00
Pavel V. Talanov e424b89d82 Extract JetProperty#hasDelegateExpressionOrInitializer() and use it where appropriate 2014-05-21 15:39:43 +04:00
Pavel V. Talanov c14843bc49 Remove unused fields and redundant constructor from PsiJetPropertyStubImpl 2014-05-21 15:39:42 +04:00
Pavel V. Talanov bfd5489e90 Rewrite DescriptorResolver#checkParameterHasNoModifier() to avoid accessing tree before illegal modifier is detected 2014-05-21 15:39:41 +04:00
Pavel V. Talanov 904e2fe1fc JetAnnotation#getEntries() by stub 2014-05-21 15:39:40 +04:00
Pavel V. Talanov 40311144f4 JetTypeConstraint#getBoundTypeReference() by stub 2014-05-21 15:39:39 +04:00
Pavel V. Talanov 31bebf924a JetTypeConstraint#getStubTypeParameterName() and isClassObjectConstraint() by stub 2014-05-21 15:39:38 +04:00
Pavel V. Talanov cbbcb861bb JetTypeConstraintList#getConstraints() by stub 2014-05-21 15:39:37 +04:00
Pavel V. Talanov dce4d259d9 Stubs for JetTypeConstraint 2014-05-21 15:39:36 +04:00
Pavel V. Talanov 9aa5681d80 Introduce JetParameter#hasValOrVarNode() and use it instead of getValOrVarNode() 2014-05-21 15:39:35 +04:00
Pavel V. Talanov 26452c845c Positioning strategy used in "conflicting upper bounds" error messages 2014-05-21 15:39:34 +04:00
Pavel V. Talanov 94270e3486 Use stubs in JetAnnotationEntry#getValueArgumentList() 2014-05-21 15:39:33 +04:00
Pavel V. Talanov f0a36ae4e0 Add hasValueArguments() to PsiJetAnnotationEntryStub 2014-05-21 15:39:32 +04:00
Pavel V. Talanov 12d701b071 JetAnnotationEntry#getCalleeExpression() by stub 2014-05-21 15:39:31 +04:00
Pavel V. Talanov 46d2d95de6 JetConstructorCalleeExpression#getTypeReference() by stub 2014-05-21 15:39:30 +04:00
Pavel V. Talanov 8b95fd1d0c JetDelegatorToSuperCall#getCalleeExpression() by stub 2014-05-21 15:39:29 +04:00