Nikolay Krasko
4348678cea
Add light parameters for functions
2013-11-15 19:41:23 +04:00
Nikolay Krasko
3d3464d163
Wrap cls-methods with kotlin prototypes
2013-11-15 19:41:11 +04:00
Nikolay Krasko
aa91ae6843
Common class for Kotlin light classes with returning light elements for methods and fields
2013-11-15 19:41:08 +04:00
Nikolay Krasko
6aeaceae8d
Refactoring: Rename JetClsMethod -> JetPsiMethodWrapper
...
Source element in Kotlin mustn't be wrapped into read-only class-elements
2013-11-15 19:05:47 +04:00
Nikolay Krasko
8e1b4edd7c
Refactoring: Remove class KotlinLightClassForPackageBase
...
FakeLightClassForFileOfPackage will use same code with delegating
2013-11-08 18:41:25 +04:00
Zalim Bashorov
4cea0a3de4
Fix build after change api
2013-11-08 18:14:21 +04:00
Zalim Bashorov
5dd4eb780e
Extracted OutputFileFactory interface.
2013-11-08 18:14:20 +04:00
Alexey Sedunov
cfaeca88bf
Reuse property search for parameters
2013-11-07 20:44:23 +04:00
Zalim Bashorov
1c1c138046
Update to IDEA 132.839 EAP
2013-10-30 19:37:14 +04:00
Alexey Sedunov
46b14784e1
Fixed KT-4105: Can't find usages of private function
2013-10-23 23:00:27 +04:00
Andrey Breslav
6dd813aeef
Field made final
2013-10-17 18:15:52 +04:00
Alexey Sedunov
bdc908d45f
Fix search of package-level function/property usages in Java code
2013-10-15 18:43:57 +04:00
Andrey Breslav
08a90ba7d4
Fixing EA-50643 - NPE: PropertyCodegen.generateBackingField
...
Do not return null as a method/field visitor
2013-10-10 14:06:20 +04:00
Andrey Breslav
94ef5cb19b
Rename: SIGNATURES -> LIGHT_CLASSES
2013-10-09 19:16:43 +04:00
Andrey Breslav
1819825e54
"builtins/stubs" mode removed from backend
2013-10-09 19:16:43 +04:00
Evgeny Gerashchenko
a1e4ca2871
Not building light class for local class (to fix exception in tests).
2013-10-04 20:40:55 +04:00
Alexander Udalov
dbba6c614b
Rename JvmClassName.getFqName() and add a warning
...
All usages of this method as of right now seem wrong, as they don't work in the
case of classes which contain dollars in their names -- dollars get replaced to
dots
2013-10-04 18:32:41 +04:00
Alexander Udalov
8729c88aa2
Refactor CodegenBinding & PsiCodegenPredictor
...
Use ASM Type to store names of classes, use strings in PsiCodegenPredictor.
Inline some methods, move closer to their usages
2013-10-04 18:32:40 +04:00
Evgeny Gerashchenko
eb5455e89f
Got rid of "jet" file extension.
2013-10-01 19:32:38 +04:00
Andrey Breslav
98ce0e078c
Chaching results of findClasses in JavaElementFinder
...
Quieries to this method appear very high in the profile when there are many exceptions in the console
2013-10-01 17:15:47 +04:00
Alexander Udalov
8e59e789dc
Extract util.runtime module out of util
...
Cleanup module dependencies: a lot of modules depended on 'frontend.java' just
to use something from 'util' module, exported by 'frontend.java', whereas they
really need nothing from 'frontend.java'. Also 'frontend.java' just exported
'util', not using anything from it.
Create a new 'util.runtime' module, which will be available at runtime. Make
'util' export 'util.runtime' and make all modules who needed these utils depend
on 'util' directly instead of 'frontend.java'
2013-09-18 17:21:11 +04:00
Alexander Udalov
2b9225fdd4
Extract descriptor.loader.java module from frontend.java
...
Will be used in runtime to load reflected classes
2013-09-04 21:55:11 +04:00
Alexander Udalov
a3d9d4fe66
Move classes around in java-specific parts of compiler
...
- move JetClsMethod and JetJavaMirrorMarker to 'jetAsJava' package
- move JetClsMethodImpl out of 'wrappers' packages
- move TypeVariableResolver to 'resolver' package, make it package-local
- move MembersCache and NamedMembers to 'scope', make the former package-local
2013-09-04 21:55:02 +04:00
Evgeny Gerashchenko
440716c817
Updated to IDEA 132.27 EAP.
2013-08-30 21:08:23 +04:00
Pavel V. Talanov
4fe78e4e7b
Move utilities using annotations to determine whether PsiClass is kotlin class or package class to DescriptorResolverUtils
...
Fix some of the usages
PackageClassUtils uses more precise method name
2013-08-26 15:59:32 +04:00
Alexander Udalov
d059a15bff
Minor, make descriptor available to NamespaceCodegen
2013-08-23 17:39:25 +04:00
Alexander Udalov
cf7c27ba79
Minor, Nullable/NotNull annotations
2013-08-23 17:39:21 +04:00
Alexander Udalov
fed14f4fbf
Move getBuiltInsDirUrl() out of KotlinBuiltIns
2013-08-23 17:39:10 +04:00
Pavel V. Talanov
1161685fee
Move builtin class sources(*.jet) under IDEA module (should be removed completely later)
...
Change marker filename which is used to find those sources via getResource
2013-08-23 17:39:10 +04:00
Nikolay Krasko
b4c7122528
Move built-in files out of source directory
2013-08-21 19:52:42 +04:00
Alexey Sedunov
9c60637ef3
Implement delete() for light methods
2013-07-29 19:15:09 +04:00
Evgeny Gerashchenko
43b9a9d434
Renamed Name.getName() and FqName.getFqName() to asString()
2013-05-21 17:56:05 +04:00
Nikolay Krasko
3b35810c9a
Using JetClsMethod interface to recognize method compiled from kotlin
2013-05-20 15:52:53 +04:00
Nikolay Krasko
3a2a932e2f
Add utility method for getting class from constructor parameter
2013-05-20 15:52:52 +04:00
Nikolay Krasko
0a2ca39f88
Search implementations for properties from constructor parameters
2013-05-20 14:17:43 +04:00
Nikolay Krasko
312bd6f828
Get PsiMethod wrappers for properties and property accessors
2013-05-20 14:17:24 +04:00
Natalia.Ukhorskaya
a943e68225
Rename method
2013-04-09 12:52:30 +04:00
Natalia.Ukhorskaya
eb768ea59a
Do not create LightClasses for kt files as sources for libraries
2013-04-09 12:52:29 +04:00
Andrey Breslav
ffeb73beb5
EA-43573 - assert: KotlinJavaFileStubProvider$.generate
...
The problem was that KotlinJavaFileStubProvider instances remembered information that changed between their invocation:
e.g. when a package gets renamed the qualified name in a java file stub does not get updated
2013-04-02 13:11:55 +04:00
Andrey Breslav
d42a9f37a3
Proper checking for a qualified name
...
When i18n plugin is enabled, it looks for classes like "java.lang.Object...)" while highlighting annotations.xml
EA-43709 - IAE: NameUtils.requireIdentifier
2013-04-01 13:37:02 +04:00
Natalia.Ukhorskaya
9091becbea
Implement Class Hierarchy View
...
#KT-3419
2013-03-25 17:39:57 +04:00
Natalia.Ukhorskaya
74bd843d1b
Move method
2013-03-25 17:39:54 +04:00
Evgeny Gerashchenko
ec5331057a
Removed unnecessary final on local variables.
2013-03-13 14:12:50 +04:00
Andrey Breslav
9b9fa26713
Additional diagnostic messages for EA-44149 - ISE: KotlinLightClassForExplicitDeclaration.getDelegate
2013-02-25 12:26:52 +04:00
Alexander Udalov
cfce055b37
Introduce fake light class for file of package
...
Fixes problems related to not working breakpoints (see comment at the top of
the class)
#KT-3291 Fixed
2013-01-31 20:43:47 +04:00
Evgeny Gerashchenko
52b7ee6447
Happy new year 2013!
2013-01-28 18:58:08 +04:00
Andrey Breslav
3e02764603
Supporting FqNames with spaces/comments inside them for deprecated
2013-01-23 18:58:38 +04:00
Andrey Breslav
a7531926a4
Properly compute STATIC for light classes
2013-01-23 18:54:04 +04:00
Andrey Breslav
5e1e6c2595
Invisible private classes are not auto-imported
2013-01-23 13:10:35 +04:00
Andrey Breslav
20b6eae88c
Annotations are also interfaces
2013-01-23 13:10:34 +04:00