Commit Graph

3152 Commits

Author SHA1 Message Date
Andrey Breslav 41dd4b29ae AbiVersionIndex added 2013-01-25 22:02:34 +04:00
Natalia.Ukhorskaya b0aa094cf8 Constructor for protected_static nested class should be protected 2013-01-24 20:58:39 +04:00
Natalia.Ukhorskaya e37cb461f6 Support visibility for protected static members
#KT-2999 Fixed
2013-01-24 18:43:37 +04:00
Andrey Breslav 0dc24bcd92 KT-3268 Check binary format version in the compiler 2013-01-23 20:12:48 +04:00
Andrey Breslav 56acd57e73 KT-3267 Put binary format version into the generated class files
#KT-3267 Fixed
2013-01-23 20:12:47 +04:00
Natalia.Ukhorskaya 126c21de96 Fix EA-42958 - ISE: FqName.parent 2013-01-22 11:39:49 +04:00
Alexander Udalov b612989eb0 Remove 'inner enum' hack & fix Java inner class resolve
Inner enum was placed into the class object of the outer class. Remove the
hack from frontend, frontend.java & backend. Fix tests

 #KT-1174 In Progress
2013-01-16 23:11:47 +04:00
Alexander Udalov e76abcb625 Add ClassDescriptor.isInner()
Implement in resolve & lazy resolve; place a stub in resolve-java

 #KT-1174 In Progress
2013-01-16 23:11:40 +04:00
Natalia.Ukhorskaya 65f1efb921 Add JetPackageClass annotation 2013-01-15 19:45:07 +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
Nikolay Krasko fa08289706 Refactoring: remove warning and use constant 2013-01-15 19:07:15 +04:00
Nikolay Krasko 303a613389 Remove unused package declaration provider 2013-01-15 19:07:10 +04:00
Nikolay Krasko d14f382db9 Collect getting psi classes in PsiClassFinder
#KT-3187 In Progress
2013-01-15 18:12:35 +04:00
Nikolay Krasko 5989bed5c7 Refactor message for property component overwrite
#KT-3187 In Progress
2013-01-15 18:12:34 +04:00
Andrey Breslav 7c4d1e6b09 KotlinCacheManager and LightClassGenerationSupport services added 2013-01-14 20:20:09 +04:00
Andrey Breslav 9d538dad8a EA-36903 - ISE: JavaTypeTransformer$.visitClassType Fixed 2013-01-10 16:16:49 +04:00
Pavel V. Talanov 293b272a22 Fix for a problem where inner (or nested) classes were not analyzed in some situations
# KT-3124 Fixed
2013-01-09 18:38:58 +04:00
Pavel V. Talanov ad848f2ebc Check for ClassKind in getClassifier() and getObjectDescriptor() implementations in java scopes
# KT-3124 fixed
2013-01-09 18:38:56 +04:00
Evgeny Gerashchenko e03eaf6dde Removed @author javadocs from code. 2012-12-28 17:44:31 +04:00
Natalia.Ukhorskaya f0d52e63b2 Don't resolve kotlin constructors from bytecode without JetConstructorAnnotation 2012-12-27 12:29:03 +04:00
Evgeny Gerashchenko 9c15a04291 Pulled getUnsubstitutedPrimaryConstructor method to ClassDescriptor.
Removed ClassDescriptorFromSource. Implemented method in inheritors.
2012-12-20 18:48:47 +04:00
Evgeny Gerashchenko 7fcbb3d563 Resolving primary flag for constructors. 2012-12-20 18:48:46 +04:00
Evgeny Gerashchenko 1cfc5f366e Extracted DescriptorRenderer interface. 2012-12-17 16:35:59 +04:00
Evgeny Gerashchenko 8a946c6ef9 Renamed DescriptorRenderer and moved to 'renderer' package.
Moved DescriptorRendererTest to 'renderer' package, as well.
2012-12-17 16:35:56 +04:00
Andrey Breslav d4d713050a Fix for varargs vs arrays of boxed types 2012-12-14 15:28:22 +04:00
Andrey Breslav becd68b98d Nullability propagation with NotNull as default for type arguments 2012-12-14 15:28:22 +04:00
Andrey Breslav 3b39257f13 TypeUsage moved out of JavaTypeTransformer 2012-12-14 15:28:22 +04:00
Andrey Breslav f925bfccd0 Changing default nullability for type arguments to NotNull 2012-12-14 15:28:21 +04:00
Andrey Breslav bc2a46a3da A workaround for exception caused by a jar with the same content occurring twice on the classpath 2012-12-13 18:32:24 +04:00
Evgeny Gerashchenko 34f9ae77ba Getting super methods correctly for inheritors of Collection, etc. 2012-12-10 21:43:42 +04:00
Evgeny Gerashchenko feb484cccb Fixed JdkAnnotationsSanityTest. 2012-12-10 19:13:18 +04:00
Evgeny Gerashchenko 1dc928b5db Disabled error checking for if super/sub method has raw types in signature. 2012-12-10 19:13:17 +04:00
Evgeny Gerashchenko c8aa3d9290 Removed TODO 2012-12-10 19:13:17 +04:00
Andrey Breslav 54ff3f73fb Clarifying details added to the error message 2012-12-07 22:06:47 +04:00
Evgeny Gerashchenko 1092164684 Generating Java to Kotlin method map along with injectors. 2012-12-07 14:41:59 +04:00
Evgeny Gerashchenko 6c6abab033 Supported propagation for Java subclass of Kotlin class. 2012-12-07 14:41:58 +04:00
Evgeny Gerashchenko 95c9c4c0c4 Fixed direction of substitution when checking bounds of type parameters. 2012-12-07 14:41:57 +04:00
Evgeny Gerashchenko d7624aa7b6 Enabled assert. 2012-12-07 14:41:56 +04:00
Evgeny Gerashchenko 5e86cbe004 Checking for return type in kotlin signature if have super methods. 2012-12-07 14:41:56 +04:00
Evgeny Gerashchenko 6975691e7a Supported cases with two superclasses when they have different variances. 2012-12-07 14:41:55 +04:00
Evgeny Gerashchenko db57ca2bf7 Minor. Useful toString in PsiMemberWrapper. 2012-12-07 14:07:00 +04:00
Evgeny Gerashchenko 83d5b1e6a0 Supported propagation for subclass of j.u.Collection and similar classes. 2012-12-07 14:06:59 +04:00
Evgeny Gerashchenko 42fb53f488 Made some methods of JavaToKotlinClassMapBuilder protected. 2012-12-07 14:02:54 +04:00
Evgeny Gerashchenko 01b3d75374 Removing redundant projections when loading from Java. 2012-12-07 14:02:54 +04:00
Evgeny Gerashchenko 46a485da01 Supported star projection in alternative signatures. 2012-12-07 14:02:54 +04:00
Evgeny Gerashchenko a4a7e5818c Merged similar methods into getVarargParameterType. 2012-12-07 14:02:54 +04:00
Andrey Breslav 932d29e2ef A case for extending a raw Comparator 2012-12-04 22:58:20 +04:00
Evgeny Gerashchenko aef96e93cf Using signature propagation only if function is owned by class. 2012-12-04 17:09:29 +04:00
Evgeny Gerashchenko 00873b6e8c Reverted loading arrays from java with 'out' projection kind as return value.
#KT-3065
2012-11-29 17:02:43 +04:00
Nikolay Krasko 2dafbdc45a Ask for external annotation only while looking for nullability or kotlin signature annotation 2012-11-28 19:21:33 +04:00