Andrey Breslav
cee4c0c29d
All Java classes extend java.lang.Object (directly or indirectly)
2014-01-15 16:07:37 +04:00
Andrey Breslav
1ea9be67c4
Support netsted classes
2014-01-15 16:07:37 +04:00
Andrey Breslav
2620c872ab
JavaDescriptorResolver can work in lazy or non-lazy mode
2014-01-15 16:07:37 +04:00
Andrey Breslav
cc06e4aaf9
Basic implementation for class resolver
2014-01-15 16:07:36 +04:00
Andrey Breslav
9ace8eedf1
Resolving functions (no propagation/alternative signatures)
2014-01-15 16:07:36 +04:00
Andrey Breslav
8b6047e48f
Allow to trigger search for external annotations lazily
2014-01-15 16:07:36 +04:00
Andrey Breslav
bed01b601b
Annotations supported
2014-01-15 16:07:36 +04:00
Andrey Breslav
93dc130e79
Initial version of lazy Java type resolver
2014-01-15 16:07:36 +04:00
Andrey Breslav
8a354ccd15
JDR subsystem: utility methods made public
2014-01-15 16:07:35 +04:00
Andrey Breslav
9879965407
Library functions
2014-01-15 16:07:35 +04:00
Andrey Breslav
36dd874c27
coreLib and Java collections utilities
2014-01-15 16:07:35 +04:00
Andrey Breslav
d0a93f8be0
Pull common method up
2014-01-15 16:07:35 +04:00
Nikolay Krasko
97759f5bb7
Add method for getting all classifiers with given name from the scope
2014-01-15 16:03:50 +04:00
Nikolay Krasko
c46214fd31
Refactoring: use selectors for chain scope behaviour implementation
2014-01-15 16:00:34 +04:00
Nikolay Krasko
297d473273
Refactoring: Move class
2014-01-15 15:19:39 +04:00
Nikolay Krasko
4de9b2d205
Minor: remove waring about annotation absence in JetScope class
2014-01-15 14:05:09 +04:00
Nikolay Krasko
320635c2a4
Minor: add 'goto' to dictionary
2014-01-15 13:09:27 +04:00
Evgeny Gerashchenko
41f61c22e5
Fixed file name case (to fix tests on Linux).
2014-01-14 22:38:12 +04:00
Evgeny Gerashchenko
ad44860604
Fixed file name case (to fix tests on Linux).
2014-01-14 22:11:32 +04:00
Evgeny Gerashchenko
c924a5d097
Test for KT-3444 Front-end doesn't check if local function or function of anonymous class returns value
...
#KT-3444 obsolete
2014-01-14 19:13:19 +04:00
Evgeny Gerashchenko
b3ab147f6a
Minor. Subclassing from interface directly.
2014-01-14 19:13:18 +04:00
Evgeny Gerashchenko
5b7b0c5437
Simpler workaround for infinite recursion when obtaining Java sub packages.
2014-01-14 19:13:18 +04:00
Evgeny Gerashchenko
cb78defa36
Considering static members when checking package-private visibility.
2014-01-14 19:13:16 +04:00
Evgeny Gerashchenko
e994b718cb
KT-4351 Cannot resolve reference to self in init of class local to function
...
#KT-4351 fixed
2014-01-14 19:13:16 +04:00
Evgeny Gerashchenko
958f7c862d
Got rid of "namespace" word in test data.
2014-01-14 18:06:50 +04:00
Evgeny Gerashchenko
ee3312fb00
Got rid of "namespace" word in plugin code.
2014-01-14 18:06:50 +04:00
Evgeny Gerashchenko
b41a3f8558
Got rid of "namespace" word in compiler code.
2014-01-14 18:06:50 +04:00
Evgeny Gerashchenko
093afeb05c
Renamed diagnostics (namespace → package).
2014-01-14 18:06:49 +04:00
Evgeny Gerashchenko
73ad5552c8
RootNamespaceExpression → RootPackageExpression.
2014-01-14 18:06:49 +04:00
Evgeny Gerashchenko
791b5bb84c
JetNamespaceHeader → JetPackageDirective.
2014-01-14 18:06:48 +04:00
Evgeny Gerashchenko
25c65173f2
More exact return type.
2014-01-14 18:06:48 +04:00
Evgeny Gerashchenko
4239f5bb18
Got rid of "namespace" word in backend.
2014-01-14 18:06:47 +04:00
Evgeny Gerashchenko
1f74f02344
NamespaceFactoryImpl is abolished, since it is almost trivial.
2014-01-14 18:06:47 +04:00
Evgeny Gerashchenko
5319c6e24c
LazyResolveNamespaceComparingTest → LazyResolveRecursiveComparingTest
2014-01-14 18:06:47 +04:00
Evgeny Gerashchenko
db13cc6ec2
OwnerKind.NAMESPACE → OwnerKind.PACKAGE
2014-01-14 18:06:47 +04:00
Evgeny Gerashchenko
7e7908b831
Got rid of "namespace" term in descriptors module.
2014-01-14 18:05:58 +04:00
Evgeny Gerashchenko
997d3597a9
NamespaceType → PackageType.
2014-01-14 18:05:58 +04:00
Evgeny Gerashchenko
1f615d08c7
NamespaceLikeBuilder → PackageLikeBuilder.
2014-01-14 18:05:57 +04:00
Evgeny Gerashchenko
2189fce64b
Renamed class.
2014-01-14 18:05:57 +04:00
Alexander Udalov
7041a10ecf
Fix VerifyError on primitive override properties
...
Don't just blindly map property type in PropertyCodegen when generating getter:
we already have its full signature, so we can just as well take the type from
it. The former also isn't correct for properties which are overrides with a
primitive type. Simple mapType is safe for setter though, because the type of a
method parameter cannot change with override on JVM
The change in StackValue relates to call sites of properties which return Unit:
in that case StackValue's this.type is V, whereas the return type of its getter
is Ljet/Unit; -- so coerceTo was coercing from the wrong type in case of getter
calls
#KT-4373 Fixed
#KT-4383 Fixed
2014-01-14 17:52:27 +04:00
Alexander Udalov
b92e121458
Minor inlines and renames in PropertyCodegen
2014-01-14 17:43:32 +04:00
Evgeny Gerashchenko
64b982d821
Verifier URL is always provided from teamcity.
2014-01-14 16:27:51 +03:00
Andrey Breslav
b120a5150c
Foo.class never yields null in Java annotation arguments
2014-01-14 16:37:51 +04:00
Andrey Breslav
84709ed363
Annotation methods never return null
2014-01-14 16:37:51 +04:00
Andrey Breslav
bf20c3a734
Annotation constructor parameters are never nullable
2014-01-14 16:37:51 +04:00
Andrey Breslav
65d90e18a2
Use DescriptorRenderer to render annotations everywhere
2014-01-14 16:37:50 +04:00
Valentin Kipyatkov
9fa29535b4
Fixed tests
2014-01-14 16:14:56 +04:00
Valentin Kipyatkov
7aed55fa1d
Reference shortening: performance optimization
2014-01-13 19:50:35 +04:00
Nikolay Krasko
ce55f10df1
Fix @Nullable annotation for JetClassObject.getObjectDeclaration()
2014-01-13 17:46:46 +04:00
Nikolay Krasko
c0187ffcd1
Always create descriptors for class object psi element in lazy resolve
...
KT-4397 Exception: @NotNull method org/jetbrains/jet/lang/resolve/lazy/ResolveSession.getClassDescriptor must not return null
#KT-4397 Fixed
2014-01-13 16:14:59 +04:00