org.jetbrains.jet.lang.resolve.kotlin
Class AnnotationDescriptorLoader
java.lang.Object
org.jetbrains.jet.lang.resolve.kotlin.BaseDescriptorLoader
org.jetbrains.jet.lang.resolve.kotlin.AnnotationDescriptorLoader
- All Implemented Interfaces:
- AnnotationLoader
public class AnnotationDescriptorLoader
- extends BaseDescriptorLoader
- implements AnnotationLoader
Method Summary |
java.util.List<AnnotationDescriptor> |
loadCallableAnnotations(ClassOrPackageFragmentDescriptor container,
ProtoBuf.Callable proto,
NameResolver nameResolver,
AnnotatedCallableKind kind)
|
java.util.List<AnnotationDescriptor> |
loadClassAnnotations(ClassDescriptor descriptor,
ProtoBuf.Class classProto,
NameResolver nameResolver)
|
java.util.List<AnnotationDescriptor> |
loadValueParameterAnnotations(ClassOrPackageFragmentDescriptor container,
ProtoBuf.Callable callable,
NameResolver nameResolver,
AnnotatedCallableKind kind,
ProtoBuf.Callable.ValueParameter proto)
|
static KotlinJvmBinaryClass.AnnotationArgumentVisitor |
resolveAnnotation(ClassId classId,
java.util.List<AnnotationDescriptor> result,
ModuleDescriptor moduleDescriptor)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AnnotationDescriptorLoader
public AnnotationDescriptorLoader(@NotNull
ModuleDescriptor module,
@NotNull
DescriptorLoadersStorage storage,
@NotNull
KotlinClassFinder kotlinClassFinder,
@NotNull
ErrorReporter errorReporter)
loadClassAnnotations
@NotNull
public java.util.List<AnnotationDescriptor> loadClassAnnotations(@NotNull
ClassDescriptor descriptor,
@NotNull
ProtoBuf.Class classProto,
@NotNull
NameResolver nameResolver)
- Specified by:
loadClassAnnotations
in interface AnnotationLoader
resolveAnnotation
@Nullable
public static KotlinJvmBinaryClass.AnnotationArgumentVisitor resolveAnnotation(@NotNull
ClassId classId,
@NotNull
java.util.List<AnnotationDescriptor> result,
@NotNull
ModuleDescriptor moduleDescriptor)
loadCallableAnnotations
@NotNull
public java.util.List<AnnotationDescriptor> loadCallableAnnotations(@NotNull
ClassOrPackageFragmentDescriptor container,
@NotNull
ProtoBuf.Callable proto,
@NotNull
NameResolver nameResolver,
@NotNull
AnnotatedCallableKind kind)
- Specified by:
loadCallableAnnotations
in interface AnnotationLoader
loadValueParameterAnnotations
@NotNull
public java.util.List<AnnotationDescriptor> loadValueParameterAnnotations(@NotNull
ClassOrPackageFragmentDescriptor container,
@NotNull
ProtoBuf.Callable callable,
@NotNull
NameResolver nameResolver,
@NotNull
AnnotatedCallableKind kind,
@NotNull
ProtoBuf.Callable.ValueParameter proto)
- Specified by:
loadValueParameterAnnotations
in interface AnnotationLoader