[uast] removing @ApiStatus.Experimental where it is no more actual

GitOrigin-RevId: d603493064147e866e7a80ad26f0d58289473d55
This commit is contained in:
Nicolay Mitropolsky
2019-12-06 15:36:07 +00:00
committed by intellij-monorepo-bot
parent cb1d126c07
commit db186e36f3
4 changed files with 8 additions and 10 deletions
@@ -8,7 +8,7 @@ import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
import org.jetbrains.uast.*;
@ApiStatus.Experimental
@ApiStatus.Internal
public final class AnalysisUastUtil {
@Nullable
public static UCallExpression getUCallExpression(@NotNull PsiElement element) {
@@ -16,13 +16,7 @@ import java.util.Arrays;
import java.util.LinkedHashSet;
import java.util.List;
/**
* Please, DO NOT use this interface in plugins until <code>@Experimental</code> is removed.
* Probably this interface will be extended in future, which will break its implementations.
*
* @see com.siyeh.ig.callMatcher.CallMatcher
*/
@ApiStatus.Experimental
@ApiStatus.Internal
public interface UastCallMatcher {
@Contract("null -> false")
@@ -29,8 +29,13 @@ interface UResolvable {
fun resolve(): PsiElement?
}
@ApiStatus.Experimental
interface UMultiResolvable {
/**
* Returns multiple elements where the reference could be resolved.
* It could happen if there is an ambiguity in code: it is incomplete or resolve target cannot be statically determined
*
* @see [com.intellij.psi.PsiPolyVariantReference] as a similar entity for plain PSI
*/
fun multiResolve(): Iterable<ResolveResult>
}
@@ -12,7 +12,6 @@ import org.jetbrains.uast.UExpression
*
* @see com.intellij.psi.UastReferenceProvider
*/
@ApiStatus.Experimental
interface UInjectionHost : UExpression {
val isString: Boolean