Commit Graph

146 Commits

Author SHA1 Message Date
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
Andrey Breslav dad59b20ba Interfaces are always abstract 2013-01-23 13:10:34 +04:00
Andrey Breslav 4549ad0a5e Kotlin does not support static nested classes so far 2013-01-23 13:10:34 +04:00
Andrey Breslav a23a255ec1 Top-level private classes are public in Java 2013-01-23 13:10:34 +04:00
Natalia.Ukhorskaya 126c21de96 Fix EA-42958 - ISE: FqName.parent 2013-01-22 11:39:49 +04:00
Natalia.Ukhorskaya 47abdcf565 Rename namespace class to {package.name}Package
Conflicts:

	compiler/jet.as.java.psi/src/org/jetbrains/jet/asJava/JavaElementFinder.java
2013-01-15 19:45:06 +04:00
Andrey Breslav 8c8accad42 Returning containing file without computing the stub 2013-01-15 15:32:05 +04:00
Andrey Breslav 0ad48a3598 LightClassGenerationStrategy removed 2013-01-15 15:32:05 +04:00
Andrey Breslav fb1f863098 Using light PsiTypeParameters instead of building a stub:
This is needed when Java resolved references to Kotlin classes: in order to resolve a reference it needs to know type parameters
2013-01-15 15:32:05 +04:00
Andrey Breslav eb06ac948b The case of no modifiers on a class supported in KotlinLightClassForExplicitDeclaration 2013-01-15 15:32:03 +04:00
Andrey Breslav b039c69952 Class object members supported in PsiCodegenPredictor 2013-01-15 15:32:03 +04:00
Andrey Breslav 7f051e38e5 toString() for KotlinLightClassForExplicitDeclaration 2013-01-15 15:32:02 +04:00
Andrey Breslav e46e77f0d3 Support internal visibility by default 2013-01-14 20:20:29 +04:00
Andrey Breslav 40943fa6d2 JetLightClass removed (replaced by KotlinLightClass implementations) 2013-01-14 20:20:28 +04:00
Andrey Breslav d9ed18dc00 Common interface for two light class implementations extracted 2013-01-14 20:20:28 +04:00
Andrey Breslav d70a5c9233 getContainingClass() made faster for toplevel classes 2013-01-14 20:20:28 +04:00
Andrey Breslav 1170cbb7fa KotlinLightClass reads basic properties directly from PSI
(this allows for building Java stubs less frequently)
2013-01-14 20:20:27 +04:00
Andrey Breslav 1765843e1d Rename 2013-01-14 20:20:27 +04:00
Andrey Breslav 9ada4a8082 KotlinLightClassProvider does not depend on Generation Strategy 2013-01-14 20:20:26 +04:00
Andrey Breslav 0fc0230069 Return proper fqname for package classes 2013-01-14 20:20:26 +04:00
Andrey Breslav 1bedda7748 getContainingFile() for light classes 2013-01-14 20:20:25 +04:00
Andrey Breslav aeca4d3feb Basic presentation-related methods for KotlinLightClass 2013-01-14 20:20:25 +04:00
Andrey Breslav e3ba5bf9b7 PsiJavaFileStub is not trackable 2013-01-14 20:20:24 +04:00
Andrey Breslav 4748befcfd JavaElementFinder builds new light classes 2013-01-14 20:20:24 +04:00
Andrey Breslav fa96915a9c toString() for stub generation strategies 2013-01-14 20:20:24 +04:00