// marked return could be either non-local or local in case of labeled lambda self-returns public static boolean isMarkedReturn(@NotNull AbstractInsnNode returnIns) { if (!isReturnOpcode(returnIns.getOpcode())) { return false; } AbstractInsnNode globalFlag = returnIns.getPrevious(); return globalFlag instanceof MethodInsnNode && NON_LOCAL_RETURN.equals(((MethodInsnNode) globalFlag).owner); }