mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
fix invalid PsiTreeUtil contract
This commit is contained in:
@@ -223,7 +223,7 @@ public class PsiTreeUtil {
|
||||
* @return first found element, or null if nothing found.
|
||||
*/
|
||||
@Nullable
|
||||
@Contract("null, _, _ -> null")
|
||||
@Contract("null, _ -> null")
|
||||
public static <T extends PsiElement> T findChildOfAnyType(@Nullable final PsiElement element, @NotNull final Class<? extends T>... classes) {
|
||||
return findChildOfAnyType(element, true, classes);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user