Yan Zhulanow
33f9a0c798
Lint: Review changes
2016-04-21 20:08:46 +03:00
Yan Zhulanow
d7faef63b6
Lint: Fix KT-11922: ClassCastException: org.jetbrains.kotlin.descriptors.impl.SimpleFunctionDescriptorImpl cannot be cast to org.jetbrains.kotlin.descriptors.ClassDescriptor
2016-04-21 20:08:46 +03:00
Yan Zhulanow
a2b1eb7ee8
Lint: Fix KT-11919 ("Missing Parcelable CREATOR field" rule is not accurate)
2016-04-21 20:08:46 +03:00
Yan Zhulanow
33434a3c5b
Lint: Fix KT-11939 (@SuppressLint("PrivateResource") doesn't work)
2016-04-21 20:08:46 +03:00
Yan Zhulanow
574aa5debe
Lint: Fix KT-11924 (False positive on beginTransaction() should be completed with a commit() call)
2016-04-21 20:08:46 +03:00
Yan Zhulanow
35fca9171c
Lint, Minor: Fix compilation
2016-04-21 20:08:46 +03:00
Yan Zhulanow
5008c6d8fc
Lint, Uast: Fix Java function descriptor calculation KT-11923
2016-04-21 20:08:46 +03:00
Yan Zhulanow
aa06cd8f7d
Lint: Fix EA-81466
2016-04-21 20:08:46 +03:00
Yan Zhulanow
64dbba8e2c
Lint: Fix EA-81613, EA-81468
2016-04-21 20:08:46 +03:00
Yan Zhulanow
371e80bcba
Android Extensions: Do not upcast ViewStub to View (KT-10321)
2016-04-19 18:47:51 +03:00
Yan Zhulanow
6e14c11280
Android Extensions: handle layout file rename
2016-04-19 18:47:51 +03:00
Yan Zhulanow
47b3394f62
Android Extensions: regenerate properties when layout is renamed/deleted/added (KT-11944)
2016-04-19 18:47:51 +03:00
Yan Zhulanow
9e33b7d3bc
Android Extensions: support identifiers with packages (KT-10841)
2016-04-19 18:47:51 +03:00
Nikolay Krasko
2e1a2fa8d1
Fallback to default source provider for non-gradle projects
2016-04-18 14:06:45 +03:00
Yan Zhulanow
8304c85f4f
Lint: support both IJ 15 and Android Studio 2.0 (different Android plugins)
...
Dirty hack :(
2016-04-14 17:20:23 +03:00
Yan Zhulanow
76e5657a99
Minor: add Javadoc for UastContext/UastLanguagePlugin
2016-04-13 18:05:51 +03:00
Nikolay Krasko
354db68f21
Remove dependency on compiler-tests from uast-kotlin
2016-04-12 14:53:17 +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
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