Commit Graph

8235 Commits

Author SHA1 Message Date
Pavel V. Talanov e7a8386964 Hack to fix broken test 2012-10-15 21:04:54 +04:00
Pavel V. Talanov 3c62f5cd32 Remove useless overrides in JavaClassMembersScope 2012-10-15 21:04:53 +04:00
Pavel V. Talanov 4d73e714bb Minor refactoring in JavaBaseScope 2012-10-15 21:04:52 +04:00
Pavel V. Talanov 47a95471fa Rename JavaClassOrPackageScope -> JavaBaseScope 2012-10-15 21:04:51 +04:00
Pavel V. Talanov d1eed5b235 Move potentially reusable code to ScopeUtils from JavaClassOrPackageScope 2012-10-15 21:04:51 +04:00
Pavel V. Talanov a5f5d98ca6 Refactor code in JavaClassOrPackageScope 2012-10-15 21:04:50 +04:00
Pavel V. Talanov 2aaafc4569 Minor refactorings in JavaNamespaceResolver 2012-10-15 21:04:49 +04:00
Pavel V. Talanov 9398bb7026 Minor refactoring in JavaInnerClassResolver 2012-10-15 21:04:48 +04:00
Pavel V. Talanov 5c20a07c00 Move JavaDescriptorSignatureResolver to resolver package and rename it to JavaSignatureResolver
Injectors regenerated
2012-10-15 21:04:47 +04:00
Pavel V. Talanov 717f424152 Minor refactoring in JavaClassObjectResolver 2012-10-15 21:04:47 +04:00
Pavel V. Talanov 9942b66f40 Introduce PostponedTasks helper class to replace List<Runnable> passed everywhere in jdr 2012-10-15 21:04:46 +04:00
Pavel V. Talanov 49f9905926 Minor refactorings in JavaClassResolver and DescriptorResolverUtils 2012-10-15 21:04:45 +04:00
Pavel V. Talanov b82e85b676 Extract JavaSupertypesResolver class from JavaClassResolver
Regenerate injectors
2012-10-15 21:04:44 +04:00
Pavel V. Talanov 270079454b Extract JavaClassObjectResolver class from JavaClassResolver
Regenerate injectors
2012-10-15 21:04:43 +04:00
Pavel V. Talanov c0b68684b8 Refactor JavaClassResolver 2012-10-15 21:04:42 +04:00
Pavel V. Talanov bdec46ac27 Cosmetics in JavaInnerClassResolver 2012-10-15 21:04:42 +04:00
Pavel V. Talanov 7693d99d1a Remove unused dependencies from JavaDescriptorResolver 2012-10-15 21:04:41 +04:00
Pavel V. Talanov 340e8d0b28 Rename: *Resolver classes to Java*Resolver
Regenerate injectors
2012-10-15 21:04:40 +04:00
Pavel V. Talanov 0aeb756f98 Refactor JavaDescriptorResolver and *Resolver classes to use DI for dependency management 2012-10-15 21:04:39 +04:00
Pavel V. Talanov 0f3c2f9fca Rename: AnnotationResolver -> JavaAnnotationResolver 2012-10-15 21:04:38 +04:00
Pavel V. Talanov e795eeb3f7 Few nullable annotations added in *Resolver classes 2012-10-15 21:04:37 +04:00
Nikolay Krasko a1f23597d2 Clean up function bracket insertion algorithm
- Rename methods
- Correct variables names
- Fix algo for searching open bracket
2012-10-15 20:45:36 +04:00
Nikolay Krasko 440f781a93 Insert one additional space for function literals 2012-10-15 20:45:35 +04:00
Nikolay Krasko ef7ed937c1 Cache getting qualified name for package expression 2012-10-15 20:45:34 +04:00
Leonid Shalupov 7d292c62e0 ReadMe: install -> package 2012-10-15 16:15:38 +04:00
Andrey Breslav f27896ee56 Better checking for isMavenModule() 2012-10-15 14:59:40 +04:00
Leonid Shalupov 1abc62efd9 publish-maven-artifacts: Xmx 2012-10-15 13:44:05 +04:00
Leonid Shalupov 67e8a25023 publish-maven-artifacts: Xmx 2012-10-15 13:42:39 +04:00
Natalia.Ukhorskaya 20352b3810 Highlight references to deprecated things accordingly
#KT-2925 Fixed
2012-10-12 15:23:04 +04:00
Natalia.Ukhorskaya 2f2941fe5b Move NameHighlightingTest to another package 2012-10-12 15:20:40 +04:00
Andrey Breslav a3c50fc751 assert() now works with -ea 2012-10-11 21:08:11 +04:00
Alexander Udalov 8bfb2ddcce Generate bridges for properties declared in constructor
#KT-2926 Fixed
 #KT-2833 Fixed
2012-10-11 17:38:46 +04:00
Alexander Udalov 5bc9291d61 Refactor PropertyCodegen
1) Introduce AsmUtil.getModalityAccessFlag()
2) Inline private methods generateDefaultGetter() and generateDefaultSetter() not
to confuse them with anything else
3) Remove dead code in PropertyCodegen.gen(), assert that it never happens
2012-10-11 17:38:46 +04:00
Natalia.Ukhorskaya 78d22e9f81 KT-2823 TypeCastException has no message
#KT-2823 Fixed
2012-10-11 15:41:49 +04:00
Alexander Udalov a31b748092 JavaElementFinder now correctly finds namespace$src$ classes
No new tests added

 #KT-2839 Fixed
2012-10-10 18:11:11 +04:00
Andrey Breslav ef99474379 Fixing variance in annotations 2012-10-10 16:29:47 +04:00
Andrey Breslav 7068bee3a6 Fix JDK annotations after updating to IntelliJ IDEA EAP 122.519 2012-10-10 15:57:58 +04:00
Andrey Breslav 4e9f166a89 Fix Rhino dependency after updating to IntelliJ IDEA EAP 122.519 2012-10-10 15:57:36 +04:00
Andrey Breslav 23f98f81b9 Update to IntelliJ IDEA EAP 122.519 2012-10-10 15:56:58 +04:00
Nikolay Krasko 5b4bf7036d Default value string for field annotation 2012-10-10 12:59:19 +04:00
Andrey Breslav c0af93f237 orEmpty() for Array<T> fixed 2012-10-09 19:19:24 +04:00
Natalia.Ukhorskaya 6f7b6e4ff3 Use LazyResole to find direct inheritors of class 2012-10-09 19:17:51 +04:00
Nikolay Krasko d257256960 Fix build - remove calling getText()
Call of getText() on class element activated caching for
com.intellij.filetype.decompiler extension point in
KeyedExtensionCollector. This cache wasn't
invalidated on set up JavaWithoutSources tests.
2012-10-09 16:43:33 +04:00
Alexander Udalov e869568196 Generate bridges for property accessors
Use existing FunctionCodegen.generateBridgeIfNeeded() on property getters &
setters

 #KT-2920 Fixed
2012-10-09 16:36:24 +04:00
Andrey Breslav 7d28ee4342 Nullable-specific routines now respect the fact that <T> may be instantiated with a nullable type 2012-10-09 12:58:47 +04:00
James Strachan 8a9485bd5f added a helper method to get the child elements of an Element by name 2012-10-09 09:12:34 +01:00
James Strachan 6a59820de3 added a test case for File.relativePath() along with fixing a bug if you pass the same file as the argument; it should have returned the empty string 2012-10-09 08:36:51 +01:00
Evgeny Gerashchenko 4b5da9dc17 Checking static members in JdkAnnotationsSanityTest. 2012-10-08 22:49:17 +04:00
Evgeny Gerashchenko 543fe8d999 Fixed annotation for Arrays.sort() method and fixed build. 2012-10-08 22:49:17 +04:00
Pavel V. Talanov c609440c2b Move DescriptorSearchRule logic to DescriptorSearchRule class 2012-10-08 21:54:11 +04:00