public final class JsDescriptorUtils extends java.lang.Object
public static boolean hasParameters(@NotNull FunctionDescriptor functionDescriptor)
public static boolean isCompareTo(@NotNull FunctionDescriptor functionDescriptor)
public static boolean isConstructorDescriptor(@NotNull CallableDescriptor descriptor)
@Nullable public static ClassDescriptor findAncestorClass(@NotNull java.util.List<ClassDescriptor> superclassDescriptors)
@Nullable public static ClassDescriptor getSuperclass(@NotNull ClassDescriptor classDescriptor)
@NotNull public static DeclarationDescriptor getContainingDeclaration(@NotNull DeclarationDescriptor descriptor)
public static boolean isExtension(@NotNull CallableDescriptor functionDescriptor)
@Nullable public static DeclarationDescriptor getExpectedThisDescriptor(@NotNull CallableDescriptor callableDescriptor)
@NotNull public static DeclarationDescriptor getDeclarationDescriptorForReceiver(@NotNull ReceiverValue receiverParameter)
@Nullable public static DeclarationDescriptor getExpectedReceiverDescriptor(@NotNull CallableDescriptor callableDescriptor)
@Nullable public static ClassDescriptor getContainingClass(@NotNull DeclarationDescriptor descriptor)
@Nullable public static FunctionDescriptor getOverriddenDescriptor(@NotNull FunctionDescriptor functionDescriptor)
public static boolean isAsPrivate(@NotNull PropertyDescriptor propertyDescriptor)
public static boolean isStandardDeclaration(@NotNull DeclarationDescriptor descriptor)
@Nullable public static NamespaceDescriptor getContainingNamespace(@NotNull DeclarationDescriptor descriptor)
@Nullable public static Name getNameIfStandardType(@NotNull JetExpression expression, @NotNull TranslationContext context)
@Nullable public static Name getNameIfStandardType(@NotNull JetType type)
@NotNull public static DeclarationDescriptor getDeclarationDescriptorForExtensionCallReceiver(@NotNull ResolvedCall<? extends CallableDescriptor> resolvedCall)