Alexey Sedunov
962b312fb7
[RESTORED] Light Classes: Constant expression evaluator for light annotation arguments
2016-04-08 21:11:16 +03:00
Alexey Sedunov
f2e2220560
[RESTORED] Spring Support: Implement Spring-specific references
2016-04-08 21:11:15 +03:00
Alexey Sedunov
196b484cd7
[RESTORED] Spring Support: Inspection for final Spring-annotated classes/functions
...
#KT-11098 Fixed
2016-04-08 21:11:14 +03:00
Alexey Sedunov
e4a64e7980
[RESTORED] Spring Support: Test framework
2016-04-08 21:09:28 +03:00
Alexey Sedunov
b5ac464305
[RESTORED] Misc: Configure dependency on Spring support and related plugins: J2EE, JSP, persistence, database tools, CSS
2016-04-08 21:07:24 +03:00
Alexey Sedunov
a30b4140de
[RESTORED] Misc: Configure IDEA Ultimate dependencies
2016-04-08 21:07:23 +03:00
Nikolay Krasko
10206ef0d0
Restore tests-common dependency in idea module
2016-04-08 18:36:34 +03:00
Nikolay Krasko
8ccb442009
Do not guard downloading artifacts for compiler tests with dependencies.properties
2016-04-08 17:40:38 +03:00
Nikolay Krasko
47c7181f2a
Extract tests-common module without any actual tests
...
The main reasoning for the module is to avoid running any compiler tests while executing run configuration that searches tests across module dependencies.
2016-04-08 17:40:38 +03:00
Yan Zhulanow
c45bdef0c2
Minor: Add idea -> lint_idea dependency (fixes IDEA tests), change lint sdk to 1.8
2016-04-08 16:27:50 +03:00
Yan Zhulanow
29412693db
Uast: add "strict" parameter to getParentOfType()
2016-04-08 15:39:58 +03:00
Yan Zhulanow
c13c24becc
Uast, Lint: Update and fix tests
2016-04-08 15:39:58 +03:00
Yan Zhulanow
21a2115501
Uast: Add Uast visitor extensions instead of additional checkers
2016-04-08 15:39:58 +03:00
Yan Zhulanow
6b30b8ce1f
Other code review changes
2016-04-08 15:39:58 +03:00
Yan Zhulanow
991e783ccf
Lint: Make lint run normally on both older and newer versions of IDEA (IdeaAndroidProject was replaced by AndroidGradleModel)
2016-04-08 15:39:58 +03:00
Yan Zhulanow
726bfca540
Change semantics of getObjectKeyword() function
2016-04-08 15:39:58 +03:00
Yan Zhulanow
41979de71e
Uast: Rewrite visitor
2016-04-08 15:39:58 +03:00
Yan Zhulanow
04e8161f1d
Code review changes
2016-04-08 15:39:58 +03:00
Yan Zhulanow
7ed5b6c10b
Minor: rename NoTraverse to LeafUElement
2016-04-08 15:39:58 +03:00
Yan Zhulanow
c1e59e4957
Code review changes
2016-04-08 15:39:58 +03:00
Yan Zhulanow
7007261d7b
Rename UastHandler to UastCallback
2016-04-08 15:39:58 +03:00
Yan Zhulanow
3484f92d10
Uast: Update tests, make the tests a bit more readable (provide toString() methods for Uast kinds)
2016-04-08 15:39:58 +03:00
Yan Zhulanow
109c76c87d
Minor: remove @author comments
2016-04-08 15:39:58 +03:00
Yan Zhulanow
0f01303f0c
Lint: Add Kotlin Lint tests
2016-04-08 15:39:58 +03:00
Yan Zhulanow
65da1edb56
Download full copy of the Android SDK (needed to run the all Android Lint tests)
2016-04-08 15:39:58 +03:00
Yan Zhulanow
984f10ddff
Lint: fix some more detectors
2016-04-08 15:39:58 +03:00
Yan Zhulanow
aa4f2e426b
Lint: Remove lint suppress quickfix (does not work currently with Kotlin)
2016-04-08 15:39:58 +03:00
Yan Zhulanow
5be2b90c6d
Uast, Minor: Group binary operators
2016-04-08 15:39:58 +03:00
Yan Zhulanow
cdd98592e4
Uast, Minor: UAnnotated is now always an UElement
2016-04-08 15:39:58 +03:00
Yan Zhulanow
2c003d16f2
Uast: support 'override' modifier in Java and Kotlin
2016-04-08 15:39:58 +03:00
Yan Zhulanow
da5e6c4092
Kotlin Uast, Minor: support PsiElementBacked in KotlinUType
2016-04-08 15:39:58 +03:00
Yan Zhulanow
1ac6c0f2e9
Kotlin Uast: support class literal expressions.
...
Ability to get type of class of class literal expressions.
2016-04-08 15:39:58 +03:00
Yan Zhulanow
6172f23d9b
Uast: support new elements in UastVisitor
2016-04-08 15:39:58 +03:00
Yan Zhulanow
5cf5024d08
Lint: fix Lint additional checkers with the custom handlers
2016-04-08 15:39:58 +03:00
Yan Zhulanow
37a4d78347
Lint: resolve via the accessor descriptor in PropertyAsCAllAndroidUastAdditionalChecker
2016-04-08 15:39:58 +03:00
Yan Zhulanow
3dc091d92c
Uast: support internal class names in Java and method signatures in Java and Kotlin
2016-04-08 15:39:58 +03:00
Yan Zhulanow
5bc31112c1
Lint: Remove IntellijApiDetector
2016-04-08 15:39:58 +03:00
Yan Zhulanow
3258ebae39
Java Uast: Support try-with-resources
2016-04-08 15:39:58 +03:00
Yan Zhulanow
9d34df2475
Java Uast: Support static imports
2016-04-08 15:39:58 +03:00
Yan Zhulanow
06a88f417c
Uast: support beforeVisit() and afterVisit() in visitor
2016-04-08 15:39:58 +03:00
Yan Zhulanow
3a7f29bfc5
Lint: Support visitResourceReference() in Uast
2016-04-08 15:39:58 +03:00
Yan Zhulanow
514e3859da
Uast: Rename JavaPsiElemenStub -> JavaDumbUElement, KotlinPsiElementStub -> KotlinDumbUElement.
...
Use it everywhere in `nameElement`
2016-04-08 15:39:58 +03:00
Yan Zhulanow
6c40fda7b7
Support equals() on UElements (comparation by psi)
2016-04-08 15:39:58 +03:00
Yan Zhulanow
985c8660b7
Uast Java, Kotlin: Support all binary operators in Uast
2016-04-08 15:39:58 +03:00
Yan Zhulanow
3f6796f0c2
Uast: Support all basic Java types needed for Lint
2016-04-08 15:39:58 +03:00
Yan Zhulanow
862f824bcc
Kotlin Uast: Support object literals
2016-04-08 15:39:58 +03:00
Yan Zhulanow
78ce025ca3
Uast: Ability to get the default class type from UClass
2016-04-08 15:39:58 +03:00
Yan Zhulanow
5c07e6de9d
Kotlin Uast, Refactoring: Extract toSource() function
2016-04-08 15:39:58 +03:00
Yan Zhulanow
ed1e1c6a2b
Uast, Minor: make lateinit mutable propertiy setters internal
2016-04-08 15:39:58 +03:00
Yan Zhulanow
18e963422b
Lint: Remove diagnostics unrelated to uast.
...
All these diagnostics are already present in the Android plugin, so there's no need in them here.
2016-04-08 15:39:58 +03:00