mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
PsiUtil: @NotNull added
This commit is contained in:
@@ -1243,10 +1243,12 @@ public final class PsiUtil extends PsiUtilCore {
|
||||
return false;
|
||||
}
|
||||
|
||||
@NotNull
|
||||
public static PsiReturnStatement[] findReturnStatements(@NotNull PsiMethod method) {
|
||||
return findReturnStatements(method.getBody());
|
||||
}
|
||||
|
||||
@NotNull
|
||||
public static PsiReturnStatement[] findReturnStatements(@Nullable PsiCodeBlock body) {
|
||||
ArrayList<PsiReturnStatement> vector = new ArrayList<PsiReturnStatement>();
|
||||
if (body != null) {
|
||||
|
||||
Reference in New Issue
Block a user