Stanislav Erokhin
b3f3b3946e
Add receiver to Visibility#isVisible
2014-12-02 14:30:16 +03:00
Pavel V. Talanov
0a4f93ddb0
Move check for special annotation to an abstract class
2014-11-27 21:17:21 +03:00
Pavel V. Talanov
0d6555cc63
Prettify code in BinaryClassAnnotationAndConstantLoaderImpl
2014-11-27 21:17:20 +03:00
Pavel V. Talanov
bd575c39dd
Fix calling toString() on ProtoContainer
2014-11-27 21:17:20 +03:00
Pavel V. Talanov
f0a9c4f683
Extract non-descriptor specific abstract ancestor for BinaryClassAnnotationAndConstantLoader
2014-11-27 21:17:19 +03:00
Pavel V. Talanov
39e1dfbcc0
Merge AnnotationLoader and ConstantLoader into single interface
...
Merge all implementation classes into single BinaryClassAnnotationAndConstantLoader
2014-11-27 21:17:18 +03:00
Pavel V. Talanov
1652157ec7
Prettify AnnotationDescriptorLoader, ConstantDescriptorLoader and DescriptorLoadersStorage after conversion
2014-11-27 21:17:18 +03:00
Pavel V. Talanov
09ff1128ea
Convert AnnotationDescriptorLoader, ConstantDescriptorLoader and DescriptorLoadersStorage
2014-11-27 21:17:17 +03:00
Pavel V. Talanov
81ddd16df2
Rename AnnotationDescriptorLoader, ConstantDescriptorLoader and DescriptorLoadersStorage before conversion
2014-11-27 21:17:17 +03:00
Pavel V. Talanov
e4d3a65124
Make AnnotationLoader and ConstantLoader accept descriptor-independent data
...
Rewrite BaseDescriptorLoader to operate on data derived from proto
Intdoduce ProtoContainer to replace containing descriptor as input data
2014-11-27 21:17:16 +03:00
Pavel V. Talanov
c73ac97ecf
Minor: simplify code
2014-11-27 21:17:15 +03:00
Pavel V. Talanov
d2fc7c7fd3
Inline BaseDescriptorLoader#getPackagePartClassName utilities
2014-11-27 21:17:15 +03:00
Pavel V. Talanov
38725687fc
Prettify code in BaseDescriptorLoader after conversion
2014-11-27 21:17:14 +03:00
Pavel V. Talanov
bd540d5f80
Convert BaseDescriptorLoader to kotlin
2014-11-27 21:17:14 +03:00
Pavel V. Talanov
5aebc2fecd
Rename BaseDescriptorLoader before conversion
2014-11-27 21:17:13 +03:00
Alexander Udalov
8cb1c7f0e6
Pass NameResolver to loadClassAnnotations()
...
It's not used at the moment, but will be in the upcoming implementation of
annotation loader (for JS, built-ins and type annotations)
2014-11-26 17:27:08 +03:00
Alexander Udalov
b56076bd6a
Merge LazyJavaResolverContext and LazyJavaResolverContextWithTypes
2014-11-25 23:16:26 +03:00
Alexander Udalov
60662e5831
Fix double laziness of annotations introduced in 149a90d
2014-11-25 23:16:21 +03:00
Alexander Udalov
75851d44cc
Minor, inline method from LazyJavaPackageFragmentProvider
2014-11-25 23:15:50 +03:00
Alexander Udalov
5907df92db
Drop secondary DeserializedPackageMemberScope constructor
...
Create package context only once
2014-11-25 23:15:49 +03:00
Alexander Udalov
e1a1c06c3e
Rename deserialization context for Java to "components"
...
Simplify its injection to DeserializedDescriptorResolver
2014-11-25 23:15:49 +03:00
Alexander Udalov
673c15a23d
Simplify component injection in annotation/constant loaders
2014-11-25 23:15:48 +03:00
Alexander Udalov
149a90d7bf
Make annotations on deserialized descriptors truly lazy
2014-11-25 23:15:47 +03:00
Alexander Udalov
cb5c21e831
Merge DeserializationGlobalContext with DeserializationComponents
2014-11-25 23:15:47 +03:00
Alexander Udalov
cfa484f760
Introduce DeserializationComponents
...
Decouple components from the state present in contexts, get rid of duplication
of parameters in each context
2014-11-25 23:15:46 +03:00
Alexander Udalov
ea3778d5be
Use outer class context in ClassDeserializer
2014-11-25 23:15:45 +03:00
Nikolay Krasko
38256d3240
toString() for filter
2014-11-17 16:15:21 +03:00
Valentin Kipyatkov
b13c0f2248
Renamed methods
2014-11-12 21:57:50 +03:00
Valentin Kipyatkov
5f5d2de5e0
Moved KindFilter and DescriptorKindExclude out of JetScope, moved constants as well and renamed them
2014-11-12 21:57:49 +03:00
Valentin Kipyatkov
8e992abe58
Minor
2014-11-12 21:25:02 +03:00
Valentin Kipyatkov
25d8db37db
Completion optimizations: do not search classes in java package when no SAM-constructors needed or when only singleton classifiers needed
2014-11-12 21:25:02 +03:00
Valentin Kipyatkov
95b3885aa5
Refactored filtering by descriptor kind so that no knowledge about SAM-constructors required in core
2014-11-12 21:25:02 +03:00
Valentin Kipyatkov
048d34b964
Minor changes after code review
2014-11-12 21:25:01 +03:00
Valentin Kipyatkov
fe5dbbf9b3
More efficient code completion + fixed a few bugs
2014-11-12 21:25:00 +03:00
Valentin Kipyatkov
6f2da4930a
Descriptor kind filter replaced with bit mask
2014-11-12 21:24:59 +03:00
Valentin Kipyatkov
43df891515
More precise descriptor kind filtering (preparing to optimize smart completion)
2014-11-12 21:24:59 +03:00
Valentin Kipyatkov
8d02c58e0a
Added name filter to PackageFragmentProvider.getSubPackagesOf but do not know how to use it actually
2014-11-12 21:24:59 +03:00
Valentin Kipyatkov
d2d7529d9f
Split file with 3 classes into 3 files
2014-11-12 21:24:57 +03:00
Valentin Kipyatkov
e51993d339
LazyPackageFragmentScopeForJavaPackage uses name filter in getDescriptors() for methods and properties as well
2014-11-12 21:24:57 +03:00
Valentin Kipyatkov
c7527e4a4d
Name filters filter by Name instead of String
2014-11-12 21:24:57 +03:00
Valentin Kipyatkov
8b2f6007c2
Minor
2014-11-12 21:24:57 +03:00
Valentin Kipyatkov
b08e444aa0
LazyPackageFragmentScopeForJavaPackage uses name filter in getDescriptors() for classes
2014-11-12 21:24:57 +03:00
Valentin Kipyatkov
5059ae5182
Removed kotlin.Boolean qualification
2014-11-12 21:24:56 +03:00
Valentin Kipyatkov
2f9b8a21ce
LazyPackageFragmentScopeForJavaPackage uses filters in getDescriptors() and does not cache it
2014-11-12 21:24:56 +03:00
Valentin Kipyatkov
f8b278464e
Minor code editings
2014-11-12 21:24:56 +03:00
Valentin Kipyatkov
1983a9f3da
Replaced usages of JetScope.getAllDescriptors() with JetScope.getDescriptors() (where makes sense)
2014-11-12 21:24:55 +03:00
Valentin Kipyatkov
760b9c4389
Added JetScope.getDescriptors(nameFilter, kindFilter) but the filters are never used yet
2014-11-12 21:24:55 +03:00
Alexander Udalov
eb96b97bc8
Get rid of underscores in private property names
...
They were used to workaround duplicate signature errors, but this is no longer
relevant since no accessors are generated for private properties with backing
fields
2014-11-11 18:35:37 +03:00
Alexander Udalov
66d27fad13
Move utilities out of 'core' to where they are used
2014-11-11 18:10:42 +03:00
Alexander Udalov
d3f210f73c
Move SAM resolution to frontend.java
2014-11-11 18:10:42 +03:00