public final class AnnotationsUtils extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
getNameForAnnotatedObject(DeclarationDescriptor declarationDescriptor,
PredefinedAnnotation annotation) |
static boolean |
hasAnnotationOrInsideAnnotatedClass(DeclarationDescriptor descriptor,
PredefinedAnnotation annotation) |
static boolean |
isEnumerable(DeclarationDescriptor descriptor) |
static boolean |
isLibraryObject(DeclarationDescriptor descriptor) |
static boolean |
isNativeObject(DeclarationDescriptor descriptor) |
static boolean |
isPredefinedObject(DeclarationDescriptor descriptor) |
@Nullable public static java.lang.String getNameForAnnotatedObject(@NotNull DeclarationDescriptor declarationDescriptor, @NotNull PredefinedAnnotation annotation)
public static boolean isNativeObject(@NotNull DeclarationDescriptor descriptor)
public static boolean isEnumerable(@NotNull DeclarationDescriptor descriptor)
public static boolean isLibraryObject(@NotNull DeclarationDescriptor descriptor)
public static boolean isPredefinedObject(@NotNull DeclarationDescriptor descriptor)
public static boolean hasAnnotationOrInsideAnnotatedClass(@NotNull DeclarationDescriptor descriptor, @NotNull PredefinedAnnotation annotation)