Commit Graph

25097 Commits

Author SHA1 Message Date
Valentin Kipyatkov e98edbcbac Code cleanup to remove deprecated symbol imports that have ReplaceWith 2015-08-31 15:48:25 +03:00
Valentin Kipyatkov c020189ad0 Added UsePropertyAccessSyntaxIntention as cleanup tool 2015-08-31 15:48:25 +03:00
Yan Zhulanow d734e2e665 Increase stub version 2015-08-31 15:33:18 +03:00
Yan Zhulanow 0b24e56f5a Use lazy to store split annotations, code simplification 2015-08-31 15:33:17 +03:00
Yan Zhulanow b6adaab94b Move AnnotationSplitter to descriptors/annotations 2015-08-31 15:33:16 +03:00
Yan Zhulanow 47a05e8bd6 Fix targets on stdlib annotations 2015-08-31 15:33:15 +03:00
Yan Zhulanow e7703df0b6 Use a single AnnotatedCallableKind enum item for property 2015-08-31 15:33:14 +03:00
Yan Zhulanow 97e4c097ba Split annotations lazily 2015-08-31 15:33:14 +03:00
Yan Zhulanow 2ce9903356 Fix tests 2015-08-31 15:33:13 +03:00
Yan Zhulanow 552211b2f4 Add bytecode listing test for use site targets and default targets (with priorities) 2015-08-31 15:33:12 +03:00
Yan Zhulanow 9dbd355e92 Render targeted annotations without escaping brackets 2015-08-31 15:33:11 +03:00
Yan Zhulanow 298093c4bd Forbid deprecated on field 2015-08-31 15:33:10 +03:00
Yan Zhulanow e0c85cba23 Fix platformStatic in reflection-jvm 2015-08-31 15:33:09 +03:00
Yan Zhulanow 4b3999bf6c Serialize annotation target psi element 2015-08-31 15:33:08 +03:00
Yan Zhulanow c488ce4cb3 Check annotation site targets using psi elements 2015-08-31 15:33:08 +03:00
Yan Zhulanow 499d5e1103 Support property and field annotations in CallableClsStubBuilder 2015-08-31 15:33:07 +03:00
Yan Zhulanow b8d2ba23e3 Support generation of new annotations 2015-08-31 15:33:06 +03:00
Yan Zhulanow 3624c4e5dc Use target priorities to split annotations to different descriptors 2015-08-31 15:33:05 +03:00
Yan Zhulanow 9838f9c942 Check deprecated annotations with use site targets 2015-08-31 15:33:04 +03:00
Yan Zhulanow 1a477bd540 Add field and property deserialization tests 2015-08-31 15:33:04 +03:00
Yan Zhulanow 1b9dab47ec Deserialize property and field annotations 2015-08-31 15:33:03 +03:00
Yan Zhulanow f86fe6a8d5 Allow multiple non-repeatable annotations with different targets 2015-08-31 15:33:02 +03:00
Yan Zhulanow 4ead50352d Put @receiver-targeted annotations on receiver type 2015-08-31 15:33:01 +03:00
Yan Zhulanow 91626cf02e Check receiver type annotations in JetCallableDeclaration 2015-08-31 15:33:00 +03:00
Yan Zhulanow 54f0da300c Force resolve type annotations 2015-08-31 15:32:59 +03:00
Yan Zhulanow a3ba1af421 Generate receiver annotations using extension receiver type parameter 2015-08-31 15:32:59 +03:00
Yan Zhulanow 866552f6ab Redundant annotation target warning 2015-08-31 15:32:58 +03:00
Yan Zhulanow 5cb74a2b12 Do not allow field annotations on properties 2015-08-31 15:32:57 +03:00
Yan Zhulanow 8b47f56eb9 Allow property annotations on primary constructor parameter 2015-08-31 15:32:56 +03:00
Yan Zhulanow 08c678ef46 Deserialize receiver parameter annotations for extension functions 2015-08-31 15:32:55 +03:00
Yan Zhulanow 397da8746a Report more detailed message if use site target is available 2015-08-31 15:32:55 +03:00
Yan Zhulanow 6e415984f0 Move AnnotatedWithAdditionalAnnotations to backend 2015-08-31 15:32:54 +03:00
Yan Zhulanow b38b7071b7 Targeted annotation diagnostic tests 2015-08-31 15:32:53 +03:00
Yan Zhulanow 8849d7d10a Check @param target applicability 2015-08-31 15:32:52 +03:00
Yan Zhulanow e72ce555e0 Move annotation use-site checks to AnnotationUseSiteTargetChecker 2015-08-31 15:32:51 +03:00
Yan Zhulanow 8741b2d083 Allow targeted annotations in parameter list 2015-08-31 15:32:50 +03:00
Yan Zhulanow 8e65ceefd0 Check use-site targeted annotations with AnnotationTarget in declaration-site 2015-08-31 15:07:16 +03:00
Yan Zhulanow a1eb544807 Parser tests for targeted annotations 2015-08-31 15:07:15 +03:00
Yan Zhulanow 2f1def6832 Support @param and @sparam annotations 2015-08-31 15:05:05 +03:00
Yan Zhulanow 00cfb3054a Support @receiver annotations 2015-08-31 15:05:05 +03:00
Yan Zhulanow 93579564c8 Support @property annotations 2015-08-31 15:05:04 +03:00
Yan Zhulanow b1a28bcc6a Support @get and @set annotations 2015-08-31 15:05:04 +03:00
Yan Zhulanow 1010658a85 Parse other use-site targeted annotations 2015-08-31 15:05:03 +03:00
Yan Zhulanow d56a3f97c6 Render annotations with use-site target 2015-08-31 15:05:03 +03:00
Yan Zhulanow 2bacbc9046 Support @field: annotations 2015-08-31 15:05:02 +03:00
Dmitry Jemerov 0499335c34 remove non-standard implementation of collectRefs() which is no longer necessary 2015-08-31 12:19:26 +02:00
Dmitry Jemerov 8abc6892ad use references search in introduce parameter 2015-08-31 12:19:23 +02:00
Dmitry Jemerov adb10136a3 use ReferencesSearch when converting between function and property 2015-08-31 12:18:30 +02:00
Dmitry Jemerov 37c40c9a23 change the origin of light methods for property accessors to the property itself 2015-08-31 12:18:25 +02:00
Dmitry Jemerov e283dbb8f4 when renaming a companion object, filter out references to companion object via its containing class, which shouldn't be updated by the rename 2015-08-31 12:08:13 +02:00