boolean (PsiMethod method, @Nullable Predicate<? super PsiStatement> considerTrivialPredicate) { if (method.hasModifierProperty(PsiModifier.NATIVE)) { return false; } return isTrivial(method.getBody(), considerTrivialPredicate); }