org.jetbrains.kotlin.js.translate.utils
Class AnnotationsUtils
java.lang.Object
org.jetbrains.kotlin.js.translate.utils.AnnotationsUtils
public final class AnnotationsUtils
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
hasAnnotation
public static boolean hasAnnotation(@NotNull
DeclarationDescriptor descriptor,
@NotNull
PredefinedAnnotation annotation)
getNameForAnnotatedObject
@Nullable
public static java.lang.String getNameForAnnotatedObject(@NotNull
DeclarationDescriptor declarationDescriptor,
@NotNull
PredefinedAnnotation annotation)
getNameForAnnotatedObjectWithOverrides
@Nullable
public static java.lang.String getNameForAnnotatedObjectWithOverrides(@NotNull
DeclarationDescriptor declarationDescriptor)
isNativeObject
public static boolean isNativeObject(@NotNull
DeclarationDescriptor descriptor)
isLibraryObject
public static boolean isLibraryObject(@NotNull
DeclarationDescriptor descriptor)
isPredefinedObject
public static boolean isPredefinedObject(@NotNull
DeclarationDescriptor descriptor)
hasAnnotationOrInsideAnnotatedClass
public static boolean hasAnnotationOrInsideAnnotatedClass(@NotNull
DeclarationDescriptor descriptor,
@NotNull
PredefinedAnnotation annotation)